Device, Method, and Graphical User Interface for Providing Feedback for Changing Activation States of a User Interface Object

ABSTRACT

An electronic device detects a contact on a touch-sensitive surface of the electronic device, including a first portion of a gesture made with the contact, a second portion of the gesture that follows the first portion, and lift-off of the contact from the touch-sensitive surface during or after the second portion of the gesture. In response to detecting the second portion of the gesture, if a modifier input was detected while detecting the first portion of the gesture made with the contact, the electronic device performs a first operation and generates a first tactile output on the touch-sensitive surface. If the modifier input was not detected while detecting the first portion of the gesture, the electronic device performs a second operation different from the first operation and generates a second tactile output on the touch-sensitive surface, wherein the second tactile output is different from the first tactile output.

RELATED APPLICATIONS

This application is a continuation of U.S. application Ser. No. 16/921,083, filed Jul. 6, 2020, which is a continuation of U.S. application Ser. No. 15/889,115, filed Feb. 5, 2018, now U.S. Pat. No. 10,782,871, which is a continuation of U.S. application Ser. No. 14/536,141, filed Nov. 7, 2014, now U.S. Pat. No. 9,886,184, which is continuation of PCT Patent Application Serial No. PCT/US2013/040072, filed on May 8, 2013, entitled “Device, Method, and Graphical User Interface for Providing Feedback for Changing Activation States of a User Interface Object,” which claims the benefit of and priority to U.S. Provisional Patent Application Ser. No. 61/778,287, filed on Mar. 12, 2013, entitled “Device, Method, and Graphical User Interface for Providing Feedback for Changing Activation States of a User Interface Object;” U.S. Provisional Patent Application No. 61/747,278, filed Dec. 29, 2012, entitled “Device, Method, and Graphical User Interface for Manipulating User Interface Objects with Visual and/or Haptic Feedback;” and U.S. Provisional Patent Application No. 61/688,227, filed May 9, 2012, entitled “Device, Method, and Graphical User Interface for Manipulating User Interface Objects with Visual and/or Haptic Feedback,” which applications are incorporated by reference herein in their entireties.

This application is also related to the following: U.S. Provisional Patent Application Ser. No. 61/778,092, filed on Mar. 12, 2013, entitled “Device, Method, and Graphical User Interface for Selecting Object within a Group of Objects;” U.S. Provisional Patent Application Ser. No. 61/778,125, filed on Mar. 12, 2013, entitled “Device, Method, and Graphical User Interface for Navigating User Interface Hierarchies;” U.S. Provisional Patent Application Ser. No. 61/778,156, filed on Mar. 12, 2013, entitled “Device, Method, and Graphical User Interface for Manipulating Framed Graphical Objects;” U.S. Provisional Patent Application Ser. No. 61/778,179, filed on Mar. 12, 2013, entitled “Device, Method, and Graphical User Interface for Scrolling Nested Regions;” U.S. Provisional Patent Application Ser. No. 61/778,171, filed on Mar. 12, 2013, entitled “Device, Method, and Graphical User Interface for Displaying Additional Information in Response to a User Contact;” U.S. Provisional Patent Application Ser. No. 61/778,191, filed on Mar. 12, 2013, entitled “Device, Method, and Graphical User Interface for Displaying User Interface Objects Corresponding to an Application;” U.S. Provisional Patent Application Ser. No. 61/778,211, filed on Mar. 12, 2013, entitled “Device, Method, and Graphical User Interface for Facilitating User Interaction with Controls in a User Interface;” U.S. Provisional Patent Application Ser. No. 61/778,239, filed on Mar. 12, 2013, entitled “Device, Method, and Graphical User Interface for Forgoing Generation of Tactile Output for a Multi-Contact Gesture;” U.S. Provisional Patent Application Ser. No. 61/778,284, filed on Mar. 12, 2013, entitled “Device, Method, and Graphical User Interface for Providing Tactile Feedback for Operations Performed in a User Interface;” U.S. Provisional Patent Application Ser. No. 61/778,363, filed on Mar. 12, 2013, entitled “Device, Method, and Graphical User Interface for Transitioning between Touch Input to Display Output Relationships;” U.S. Provisional Patent Application Ser. No. 61/778,367, filed on Mar. 12, 2013, entitled “Device, Method, and Graphical User Interface for Moving a User Interface Object Based on an Intensity of a Press Input;” U.S. Provisional Patent Application Ser. No. 61/778,265, filed on Mar. 12, 2013, entitled “Device, Method, and Graphical User Interface for Transitioning between Display States in Response to a Gesture;” U.S. Provisional Patent Application Ser. No. 61/778,373, filed on Mar. 12, 2013, entitled “Device, Method, and Graphical User Interface for Managing Activation of a Control Based on Contact Intensity;” U.S. Provisional Patent Application Ser. No. 61/778,412, filed on Mar. 13, 2013, entitled “Device, Method, and Graphical User Interface for Displaying Content Associated with a Corresponding Affordance;” U.S. Provisional Patent Application Ser. No. 61/778,413, filed on Mar. 13, 2013, entitled “Device, Method, and Graphical User Interface for Selecting User Interface Objects;” U.S. Provisional Patent Application Ser. No. 61/778,414, filed on Mar. 13, 2013, entitled “Device, Method, and Graphical User Interface for Moving and Dropping a User Interface Object;” U.S. Provisional Patent Application Ser. No. 61/778,416, filed on Mar. 13, 2013, entitled “Device, Method, and Graphical User Interface for Determining Whether to Scroll or Select Content;” and U.S. Provisional Patent Application Ser. No. 61/778,418, filed on Mar. 13, 2013, entitled “Device, Method, and Graphical User Interface for Switching between User Interfaces,” which are incorporated herein by reference in their entireties.

This application is also related to the following: U.S. Provisional Patent Application Ser. No. 61/645,033, filed on May 9, 2012, entitled “Adaptive Haptic Feedback for Electronic Devices;” U.S. Provisional Patent Application Ser. No. 61/665,603, filed on Jun. 28, 2012, entitled “Adaptive Haptic Feedback for Electronic Devices;” and U.S. Provisional Patent Application Ser. No. 61/681,098, filed on Aug. 8, 2012, entitled “Adaptive Haptic Feedback for Electronic Devices,” which are incorporated herein by reference in their entireties.

TECHNICAL FIELD

This relates generally to electronic devices with touch-sensitive surfaces, including but not limited to electronic devices with touch-sensitive surfaces that detect inputs for manipulating user interfaces.

BACKGROUND

The use of touch-sensitive surfaces as input devices for computers and other electronic computing devices has increased significantly in recent years. Exemplary touch-sensitive surfaces include touch pads and touch screen displays. Such surfaces are widely used to manipulate user interface objects on a display.

Exemplary manipulations include adjusting the position and/or size of one or more user interface objects or activating buttons or opening files/applications represented by user interface objects, as well as associating metadata with one or more user interface objects or otherwise manipulating user interfaces. Exemplary user interface objects include digital images, video, text, icons, control elements such as buttons and other graphics. A user will, in some circumstances, need to perform such manipulations on user interface objects in a file management program (e.g., Finder from Apple Inc. of Cupertino, Calif.), an image management application (e.g., Aperture or iPhoto from Apple Inc. of Cupertino, Calif.), a digital content (e.g., videos and music) management application (e.g., iTunes from Apple Inc. of Cupertino, Calif.), a drawing application, a presentation application (e.g., Keynote from Apple Inc. of Cupertino, Calif.), a word processing application (e.g., Pages from Apple Inc. of Cupertino, Calif.), a website creation application (e.g., iWeb from Apple Inc. of Cupertino, Calif.), a disk authoring application (e.g., iDVD from Apple Inc. of Cupertino, Calif.), or a spreadsheet application (e.g., Numbers from Apple Inc. of Cupertino, Calif.).

But existing methods for performing these manipulations are cumbersome and inefficient. In addition, existing methods take longer than necessary, thereby wasting energy. This latter consideration is particularly important in battery-operated devices.

SUMMARY

Accordingly, there is a need for electronic devices with faster, more efficient methods and interfaces for manipulating user interfaces. Such methods and interfaces optionally complement or replace conventional methods for manipulating user interfaces. Such methods and interfaces reduce the cognitive burden on a user and produce a more efficient human-machine interface. For battery-operated devices, such methods and interfaces conserve power and increase the time between battery charges.

The above deficiencies and other problems associated with user interfaces for electronic devices with touch-sensitive surfaces are reduced or eliminated by the disclosed devices. In some embodiments, the device is a desktop computer. In some embodiments, the device is portable (e.g., a notebook computer, tablet computer, or handheld device). In some embodiments, the device has a touchpad. In some embodiments, the device has a touch-sensitive display (also known as a “touch screen” or “touch screen display”). In some embodiments, the device has a graphical user interface (GUI), one or more processors, memory and one or more modules, programs or sets of instructions stored in the memory for performing multiple functions. In some embodiments, the user interacts with the GUI primarily through finger contacts and gestures on the touch-sensitive surface. In some embodiments, the functions optionally include image editing, drawing, presenting, word processing, website creating, disk authoring, spreadsheet making, game playing, telephoning, video conferencing, e-mailing, instant messaging, workout support, digital photographing, digital videoing, web browsing, digital music playing, and/or digital video playing. Executable instructions for performing these functions are, optionally, included in a non-transitory computer readable storage medium or other computer program product configured for execution by one or more processors.

There is a need for electronic devices with faster, more efficient methods and interfaces for selecting a tactile output corresponding to a change in intensity of a contact when relocating user interface objects. Such methods and interfaces may complement or replace conventional methods for relocating user interface objects. Such methods and interfaces reduce the cognitive burden on a user and produce a more efficient human-machine interface. For battery-operated devices, such methods and interfaces conserve power and increase the time between battery charges.

The above deficiencies and other problems associated with user interfaces for electronic devices with touch-sensitive surfaces are reduced or eliminated by the disclosed devices. In some embodiments, the device is a desktop computer. In some embodiments, the device is portable (e.g., a notebook computer, tablet computer, or handheld device). In some embodiments, the device has a touchpad. In some embodiments, the device has a touch-sensitive display (also known as a “touch screen” or “touch screen display”). In some embodiments, the device has a graphical user interface (GUI), one or more processors, memory and one or more modules, programs or sets of instructions stored in the memory for performing multiple functions. In some embodiments, the user interacts with the GUI primarily through finger contacts and gestures on the touch-sensitive surface. In some embodiments, the functions may include image editing, drawing, presenting, word processing, website creating, disk authoring, spreadsheet making, game playing, telephoning, video conferencing, e-mailing, instant messaging, workout support, digital photographing, digital videoing, web browsing, digital music playing, and/or digital video playing. Executable instructions for performing these functions may be included in a non-transitory computer readable storage medium or other computer program product configured for execution by one or more processors.

In accordance with some embodiments, a method is performed at an electronic device with a touch-sensitive surface and a display, where the device includes one or more sensors to detect intensity of contacts with the touch-sensitive surface. The method includes: displaying a user interface object on the display; detecting, on the touch-sensitive surface, a contact having an intensity above an object-selection threshold; detecting movement of the contact across the touch-sensitive surface, the movement corresponding to a preliminary portion of a gesture for performing an operation corresponding to the user interface object; detecting a reduction in intensity of the contact below an object-release threshold; and in response to detecting the reduction in intensity below the object-release threshold: in accordance with a determination that the movement meets predefined operation-performance criteria: performing the operation and generating a first tactile output on the touch-sensitive surface; and in accordance with a determination that the movement does not meet the predefined operation-performance criteria: forgoing performance of the operation and generating a second tactile output on the touch-sensitive surface, where the second tactile output is different from the first tactile output.

In accordance with some embodiments, an electronic device comprises a display unit configured to display a user interface object; a touch-sensitive surface unit configured to receive contacts; one or more sensor units configured to detect intensity of contacts with the touch-sensitive surface unit; and a processing unit coupled to the display unit, the touch-sensitive surface unit, and the sensor units. The processing unit is configured to: detect, on the touch-sensitive surface unit, a contact having an intensity above an object-selection threshold; detect movement of the contact across the touch-sensitive surface unit, the movement corresponding to a preliminary portion of a gesture for performing an operation corresponding to the user interface object; detect a reduction in intensity of the contact below an object-release threshold; and in response to detecting the reduction in intensity below the object-release threshold: in accordance with a determination that the movement meets predefined operation-performance criteria: perform the operation; and generate a first tactile output on the touch-sensitive surface unit; and in accordance with a determination that the movement does not meet the predefined operation-performance criteria: forgo performance of the operation; and generate a second tactile output on the touch-sensitive surface unit, wherein the second tactile output is different from the first tactile output.

Thus, electronic devices with displays, touch-sensitive surfaces, and one or more sensors to detect intensity of contacts with the touch-sensitive surfaces are provided with faster, more efficient methods and interfaces for selecting a tactile output corresponding to a change in intensity of a contact when relocating user interface objects, thereby increasing the effectiveness, efficiency, and user satisfaction with such devices. Such methods and interfaces optionally complement or replace conventional methods for dragging and dropping user interface objects.

There is a need for electronic devices with faster, more efficient methods and interfaces for providing feedback corresponding to modifier inputs. Such methods and interfaces may complement or replace conventional methods for providing feedback corresponding to modifier inputs. Such methods and interfaces reduce the cognitive burden on a user and produce a more efficient human-machine interface. For battery-operated devices, such methods and interfaces conserve power and increase the time between battery charges.

In accordance with some embodiments, a method is performed at an electronic device with a display, a touch-sensitive surface and one or more sensors to detect intensity of contacts with the touch-sensitive surface. The method includes: detecting a contact on the touch-sensitive surface; detecting an increase in intensity of the contact above a first activation threshold; after detecting the increase in intensity of the contact above the first activation threshold, detecting a reduction in intensity of the contact below a second activation threshold; and in response to detecting the reduction in intensity of the contact below the second activation threshold: in accordance with a determination that a modifier input was detected while detecting the increase in intensity of the contact above the first activation threshold: performing a first operation and generating a first tactile output on the touch-sensitive surface; and in accordance with a determination that the modifier input was not detected while detecting the increase in intensity of the contact above the first activation threshold: performing a second operation different from the first operation and generating a second tactile output on the touch-sensitive surface, where the second tactile output is different from the first tactile output.

In accordance with some embodiments, an electronic device includes a display unit; a touch-sensitive surface unit configured to receive contacts; one or more sensor units configured to detect intensity of contacts with the touch-sensitive surface unit; and a processing unit coupled to the display unit, the touch-sensitive surface unit and the sensor units. The processing unit is configured to: detect a contact on the touch-sensitive surface unit; detect an increase in intensity of the contact above a first activation threshold; after detecting the increase in intensity of the contact above the first activation threshold, detect a reduction in intensity of the contact below a second activation threshold; and in response to detecting the reduction in intensity of the contact below the second activation threshold: in accordance with a determination that a modifier input was detected while detecting the increase in intensity of the contact above the first activation threshold: perform a first operation and generate a first tactile output on the touch-sensitive surface unit; and in accordance with a determination that the modifier input was not detected while detecting the increase in intensity of the contact above the first activation threshold: perform a second operation different from the first operation and generate a second tactile output on the touch-sensitive surface unit, where the second tactile output is different from the first tactile output.

Thus, electronic devices with displays, touch-sensitive surfaces and one or more sensors to detect intensity of contacts with the touch-sensitive surfaces are provided with faster, more efficient methods and interfaces for providing feedback corresponding to modifier inputs, thereby increasing the effectiveness, efficiency, and user satisfaction with such devices. Such methods and interfaces may complement or replace conventional methods for providing feedback corresponding to modifier inputs.

There is a need for electronic devices with more efficient methods and interfaces for providing feedback for changing activation states of a user interface object. Such methods and interfaces may complement or replace conventional methods for providing feedback for changing activation states of a user interface object. Such methods and interfaces reduce the cognitive burden on a user and produce a more efficient human-machine interface. For battery-operated devices, such methods and interfaces conserve power and increase the time between battery charges.

In accordance with some embodiments, a method is performed at an electronic device with a display, a touch-sensitive surface and one or more sensors to detect intensity of contacts with the touch-sensitive surface. The method includes: displaying a user interface object on the display, where the user interface object has a plurality of activation states; detecting a contact on the touch-sensitive surface; detecting an increase of intensity of the contact on the touch-sensitive surface from a first intensity to a second intensity; in response to detecting the increase in intensity: changing activation states of the user interface object M times, where M is a positive integer, and generating a tactile output on the touch-sensitive surface corresponding to each change in activation state of the user interface object; detecting a decrease of intensity of the contact from the second intensity to the first intensity; and in response to detecting the decrease in intensity: changing activation states of the user interface object N times, where N is a positive integer, and generating a tactile output on the touch-sensitive surface corresponding to each change in activation state of the user interface object, where N is different from M.

In accordance with some embodiments, an electronic device includes a display unit configured to display a user interface object, where the user interface object has a plurality of activation states, a touch-sensitive surface unit configured to receive contacts, one or more sensor units configured to detect intensity of contacts with the touch-sensitive surface unit, and a processing unit coupled to the display unit, the touch-sensitive surface unit, and the sensor units. The processing unit is configured to: detect a contact on the touch-sensitive surface unit; detect an increase of intensity of the contact on the touch-sensitive surface unit from a first intensity to a second intensity; in response to detecting the increase in intensity: change activation states of the user interface object M times, where M is a positive integer, and generate a tactile output on the touch-sensitive surface unit corresponding to each change in activation state of the user interface object; detect a decrease of intensity of the contact from the second intensity to the first intensity; and in response to detecting the decrease in intensity: change activation states of the user interface object N times, where N is a positive integer, and generate a tactile output on the touch-sensitive surface unit corresponding to each change in activation state of the user interface object, where N is different from M.

Thus, electronic devices with displays, touch-sensitive surfaces and one or more sensors to detect intensity of contacts with the touch-sensitive surface are provided with more efficient methods and interfaces for providing feedback for changing activation states of a user interface object, thereby increasing the effectiveness, efficiency, and user satisfaction with such devices. Such methods and interfaces may complement or replace conventional methods for providing feedback for changing activation states of a user interface object.

There is a need for electronic devices with faster, more efficient methods and interfaces for providing feedback for changing activation states of a user interface object. Such methods and interfaces may complement or replace conventional methods for providing feedback for changing activation states of a user interface object. Such methods and interfaces reduce the cognitive burden on a user and produce a more efficient human-machine interface. For battery-operated devices, such methods and interfaces conserve power and increase the time between battery charges.

In accordance with some embodiments, a method is performed at an electronic device with a display, a touch-sensitive surface and one or more sensors to detect intensity of contacts with the touch-sensitive surface. The method includes: displaying a user interface object on the display, where the user interface object has a first activation state and a second activation state; detecting a contact on the touch-sensitive surface; detecting an increase of intensity of the contact on the touch-sensitive surface from a first intensity to a second intensity; in response to detecting the increase in intensity: changing activation states of the user interface object from the first activation state to the second activation state; and generating M distinct tactile outputs on the touch-sensitive surface, where M is a positive integer; detecting a decrease of intensity of the contact from the second intensity to the first intensity; and in response to detecting the decrease in intensity: changing activation states of the user interface object from the second activation state to the first activation state; and generating N distinct tactile outputs on the touch-sensitive surface, where N is a positive integer and N is different from M.

In accordance with some embodiments, an electronic device includes a display unit configured to display a user interface object, where the user interface object has a first activation state and a second activation state; a touch-sensitive surface unit configured to receive contacts; one or more sensor units configured to detect intensity of contacts with the touch-sensitive surface unit; and a processing unit coupled to the display unit, the touch-sensitive surface unit and the sensor units. The processing unit is configured to: detect a contact on the touch-sensitive surface unit; detect an increase of intensity of the contact on the touch-sensitive surface unit from a first intensity to a second intensity; in response to detecting the increase in intensity: change activation states of the user interface object from the first activation state to the second activation state; and generate M distinct tactile outputs on the touch-sensitive surface unit, where M is a positive integer; detect a decrease of intensity of the contact from the second intensity to the first intensity; and in response to detecting the decrease in intensity: change activation states of the user interface object from the second activation state to the first activation state; and generate N distinct tactile outputs on the touch-sensitive surface unit, where N is a positive integer and N is different from M.

Thus, electronic devices with displays, touch-sensitive surfaces and one or more sensors to detect intensity of contacts with the touch-sensitive surface are provided with faster, more efficient methods and interfaces for providing feedback for changing activation states of a user interface object, thereby increasing the effectiveness, efficiency, and user satisfaction with such devices. Such methods and interfaces may complement or replace conventional methods for providing feedback for changing activation states of a user interface object.

In accordance with some embodiments, an electronic device includes a display, a touch-sensitive surface, optionally one or more sensors to detect intensity of contacts with the touch-sensitive surface, one or more processors, memory, and one or more programs; the one or more programs are stored in the memory and configured to be executed by the one or more processors and the one or more programs include instructions for performing the operations of any of the methods referred to in the fifth paragraph of the Description of Embodiments. In accordance with some embodiments, a graphical user interface on an electronic device with a display, a touch-sensitive surface, optionally one or more sensors to detect intensity of contacts with the touch-sensitive surface, a memory, and one or more processors to execute one or more programs stored in the memory includes one or more of the elements displayed in any of the methods referred to in the fifth paragraph of the Description of Embodiments, which are updated in response to inputs, as described in any of the methods referred to in the fifth paragraph of the Description of Embodiments. In accordance with some embodiments, a computer readable storage medium has stored therein instructions which when executed by an electronic device with a display, a touch-sensitive surface, and optionally one or more sensors to detect intensity of contacts with the touch-sensitive surface, cause the device to perform the operations of any of the methods referred to in the fifth paragraph of the Description of Embodiments. In accordance with some embodiments, an electronic device includes: a display, a touch-sensitive surface, and optionally one or more sensors to detect intensity of contacts with the touch-sensitive surface; and means for performing the operations of any of the methods referred to in the fifth paragraph of the Description of Embodiments. In accordance with some embodiments, an information processing apparatus, for use in an electronic device with a display and a touch-sensitive surface, optionally one or more sensors to detect intensity of contacts with the touch-sensitive surface, includes means for performing the operations of any of the methods referred to in the fifth paragraph of the Description of Embodiments.

BRIEF DESCRIPTION OF THE DRAWINGS

For a better understanding of the various described embodiments, reference should be made to the Description of Embodiments below, in conjunction with the following drawings in which like reference numerals refer to corresponding parts throughout the figures.

FIG. 1A is a block diagram illustrating a portable multifunction device with a touch-sensitive display in accordance with some embodiments.

FIG. 1B is a block diagram illustrating exemplary components for event handling in accordance with some embodiments.

FIG. 2 illustrates a portable multifunction device having a touch screen in accordance with some embodiments.

FIG. 3 is a block diagram of an exemplary multifunction device with a display and a touch-sensitive surface in accordance with some embodiments.

FIG. 4A illustrates an exemplary user interface for a menu of applications on a portable multifunction device in accordance with some embodiments.

FIG. 4B illustrates an exemplary user interface for a multifunction device with a touch-sensitive surface that is separate from the display in accordance with some embodiments.

FIGS. 5A-5W illustrate exemplary user interfaces for selecting a tactile output corresponding to a change in intensity of a contact in accordance with some embodiments.

FIGS. 6A-6B are flow diagrams illustrating a method of selecting a tactile output corresponding to a change in intensity of a contact in accordance with some embodiments.

FIG. 7 is a functional block diagram of an electronic device in accordance with some embodiments.

FIGS. 8A-8V illustrate exemplary user interfaces for providing feedback corresponding to modifier inputs in accordance with some embodiments.

FIGS. 9A-9B are flow diagrams illustrating a method of providing feedback corresponding to modifier inputs in accordance with some embodiments.

FIG. 10 is a functional block diagram of an electronic device in accordance with some embodiments.

FIGS. 11A-11N illustrate exemplary user interfaces for providing feedback for changing activation states of a user interface object in accordance with some embodiments.

FIGS. 12A-12B are flow diagrams illustrating a method of providing feedback for changing activation states of a user interface object in accordance with some embodiments.

FIG. 13 is a functional block diagram of an electronic device in accordance with some embodiments.

FIGS. 14A-14N illustrate exemplary user interfaces for providing feedback for changing activation states of a user interface object in accordance with some embodiments.

FIGS. 15A-15C are flow diagrams illustrating a method of providing feedback for changing activation states of a user interface object in accordance with some embodiments.

FIG. 16 is a functional block diagram of an electronic device in accordance with some embodiments.

DESCRIPTION OF EMBODIMENTS

The methods, devices and GUIs described herein provide visual and/or haptic feedback that makes manipulation of user interface objects more efficient and intuitive for a user. For example, in a system where the clicking action of a trackpad is decoupled from the contact intensity (e.g., contact force, contact pressure, or a substitute therefore) that is needed to reach an activation threshold, the device can generate different tactile outputs (e.g., “different clicks”) for different activation events (e.g., so that clicks that accomplish a particular result are differentiated from clicks that do not produce any result or that accomplish a different result from the particular result). Additionally, tactile outputs can be generated in response to other events that are not related to increasing intensity of a contact, such as generating a tactile output (e.g., a “detent”) when a user interface object is moved to a particular position, boundary or orientation, or when an event occurs at the device.

Additionally, in a system where a trackpad or touch-screen display is sensitive to a range of contact intensity that includes more than one or two specific intensity values (e.g., more than a simple on/off, binary intensity determination), the user interface can provide responses (e.g., visual or tactile cues) that are indicative of the intensity of the contact within the range. In some implementations, a pre-activation-threshold response and/or a post-activation-threshold response to an input are displayed as continuous animations. As one example of such a response, a preview of an operation is displayed in response to detecting an increase in contact intensity that is still below an activation threshold for performing the operation. As another example of such a response, an animation associated with an operation continues even after the activation threshold for the operation has been reached. Both of these examples provide a user with a continuous response to the force or pressure of a user's contact, which provides a user with visual and/or haptic feedback that is richer and more intuitive. More specifically, such continuous force responses give the user the experience of being able to press lightly to preview an operation and/or press deeply to push “past” or “through” a predefined user interface state corresponding to the operation.

Additionally, for a device with a touch-sensitive surface that is sensitive to a range of contact intensity, multiple contact intensity thresholds can be monitored by the device and different functions can be mapped to different contact intensity thresholds. This serves to increase the available “gesture space” providing easy access to advanced features for users who know that increasing the intensity of a contact at or beyond a second “deep press” intensity threshold will cause the device to perform a different operation from an operation that would be performed if the intensity of the contact is between a first “activation” intensity threshold and the second “deep press” intensity threshold. An advantage of assigning additional functionality to a second “deep press” intensity threshold while maintaining familiar functionality at a first “activation” intensity threshold is that inexperienced users who are, in some circumstances, confused by the additional functionality can use the familiar functionality by just applying an intensity up to the first “activation” intensity threshold, whereas more experienced users can take advantage of the additional functionality by applying an intensity at the second “deep press” intensity threshold.

Additionally, for a device with a touch-sensitive surface that is sensitive to a range of contact intensity, the device can provide additional functionality by allowing users to perform complex operations with a single continuous contact. For example, when selecting a group of objects, a user can move a continuous contact around the touch-sensitive surface and can press while dragging (e.g., applying an intensity greater than a “deep press” intensity threshold) to add additional elements to a selection. In this way, a user can intuitively interact with a user interface where pressing harder with a contact causes objects in the user interface to be “stickier.”

A number of different approaches to providing an intuitive user interface on a device where a clicking action is decoupled from the force that is needed to reach an activation threshold and/or the device is sensitive to a wide range of contact intensities are described below. Using one or more of these approaches (optionally in conjunction with each other) helps to provide a user interface that intuitively provides users with additional information and functionality, thereby reducing the user's cognitive burden and improving the human-machine interface. Such improvements in the human-machine interface enable users to use the device faster and more efficiently. For battery-operated devices, these improvements conserve power and increase the time between battery charges. For ease of explanation, systems, methods and user interfaces for including illustrative examples of some of these approaches are described below, as follows:

-   -   Many electronic devices have graphical user interfaces including         one or more user interface objects. When users attempt to         perform operations associated with these user interface objects,         these operations are sometimes successful and sometimes         unsuccessful. For example, in some circumstances, moving a user         interface object to a disallowed portion of the user interface         will be unsuccessful, whereas moving the same user interface         object to an allowed portion of the user interface will be         successful. One approach to indicating whether an operation was         successful or unsuccessful is providing visual feedback         indicative of the successful performance of an operation.         However, visual feedback can easily be missed by a user, thereby         leaving the user confused as to whether or not the operation has         been performed. The embodiments described below improve on these         methods by providing additional cues to the user, including         tactile outputs, to indicate whether or not an operation was         successful, thereby providing a more convenient and efficient         user interface. In particular, FIGS. 5A-5W illustrate exemplary         user interfaces for relocating a user interface object in         accordance with some embodiments. FIGS. 6A-6B are flow diagrams         illustrating a method of selecting a tactile output         corresponding to a change in intensity of a contact in         accordance with some embodiments. The user interfaces in FIGS.         5A-5W are used to illustrate the processes described below,         including the processes in FIGS. 6A-6B.     -   Many electronic devices include a mouse or similar input device         that provides left-click functionality and right-click         functionality for activating different operations. As devices         economize on the number of buttons and input devices, the         left-click functionality and right-click functionality is,         optionally, invoked using one input device, such as a trackpad.         In some methods, when either functionality is invoked using the         one input device, the user is not given sufficient feedback         indicating whether the activated operation was an operation not         associated with a modifier input (e.g., a left-click operation)         or an operation associated with a modifier input (e.g., a         right-click operation). The embodiments below improve on the         these methods by providing different tactile output when device         detects an input while a modifier input is detected than when         the device detects a similar input while a modifier input is not         detected, thereby providing a more convenient and efficient user         interface. In particular, FIGS. 8A-8V illustrate exemplary user         interfaces for providing feedback corresponding to modifier         inputs. FIGS. 9A-9B are flow diagrams illustrating a method of         providing feedback corresponding to modifier inputs. The user         interfaces in FIGS. 8A-8V are used to illustrate the processes         in FIGS. 9A-9B.     -   Many electronic devices have graphical user interfaces that         include user interface objects, such as virtual buttons and         switches. In some circumstances, a user activates a user         interface object to perform an operation or adjust a parameter         or property. One approach to indicating an activation state of a         user interface object is to mimic the behavior of a         corresponding physical object. However, physical objects, such         as real buttons and switches, will, in some circumstances         provide excessive tactile feedback in some circumstances, and         too little feedback in others. The embodiments described below         provide tactile feedback that corresponds to changes in         activation states of a virtual button, switch or other user         interface object rather than tactile feedback that corresponds         1:1 to tactile sensations that would be felt by a user when         using a physical control to perform similar operations, thereby         providing a more convenient and intuitive user interface. In         particular, FIGS. 11A-11N illustrate exemplary user interfaces         for providing feedback for changing activation states of a user         interface object. FIGS. 12A-12B are flow diagrams illustrating a         method of providing feedback for changing activation states of a         user interface object. The user interfaces in FIGS. 11A-11N are         used to illustrate the processes in FIGS. 12A-12B.     -   Many electronic devices have graphical user interfaces that         include user interface objects, such as buttons and switches. In         some circumstances, a user activates a user interface object to         perform an operation or adjust a parameter or property. One         approach to indicating an activation state of a user interface         object is to mimic the behavior of a corresponding physical         object. However, physical objects, such as real buttons and         switches, will, in some circumstances provide excessive tactile         feedback in some circumstances, and too little feedback in         others. In some devices, a tactile sensation is, in some         circumstances, perceived by the user for corresponding physical         inputs, such as clicks of a physical actuator mechanism (e.g., a         mouse button) that activate a switch. The embodiments described         below provide tactile feedback that is not tied to actuations of         a physical actuator mechanism. For example, tactile sensations         related to activation state changes are, optionally, provided.         When tactile sensations not tied to physical actuations are         provided for, the user can better discern the activation state         of the virtual button without being distracted by too much or         too little tactile feedback, thereby providing a more convenient         and intuitive user interface. Below, FIGS. 14A-14N illustrate         exemplary user interfaces for providing feedback for changing         activation states of a user interface object. FIGS. 15A-15C are         flow diagrams illustrating a method of providing feedback for         changing activation states of a user interface object. The user         interfaces in FIGS. 14A-14N are used to illustrate the processes         in FIGS. 15A-15C.

Exemplary Devices

Reference will now be made in detail to embodiments, examples of which are illustrated in the accompanying drawings. In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the various described embodiments. However, it will be apparent to one of ordinary skill in the art that the various described embodiments may be practiced without these specific details. In other instances, well-known methods, procedures, components, circuits, and networks have not been described in detail so as not to unnecessarily obscure aspects of the embodiments.

It will also be understood that, although the terms first, second, etc. are, in some instances, used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first contact could be termed a second contact, and, similarly, a second contact could be termed a first contact, without departing from the scope of the various described embodiments. The first contact and the second contact are both contacts, but they are not the same contact.

The terminology used in the description of the various described embodiments herein is for the purpose of describing particular embodiments only and is not intended to be limiting. As used in the description of the various described embodiments and the appended claims, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that the term “and/or” as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items. It will be further understood that the terms “includes,” “including,” “comprises,” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.

As used herein, the term “if” is, optionally, construed to mean “when” or “upon” or “in response to determining” or “in response to detecting,” depending on the context. Similarly, the phrase “if it is determined” or “if [a stated condition or event] is detected” is, optionally, construed to mean “upon determining” or “in response to determining” or “upon detecting [the stated condition or event]” or “in response to detecting [the stated condition or event],” depending on the context.

Embodiments of electronic devices, user interfaces for such devices, and associated processes for using such devices are described. In some embodiments, the device is a portable communications device, such as a mobile telephone, that also contains other functions, such as PDA and/or music player functions. Exemplary embodiments of portable multifunction devices include, without limitation, the iPhone®, iPod Touch®, and iPad® devices from Apple Inc. of Cupertino, Calif. Other portable electronic devices, such as laptops or tablet computers with touch-sensitive surfaces (e.g., touch screen displays and/or touch pads), are, optionally, used. It should also be understood that, in some embodiments, the device is not a portable communications device, but is a desktop computer with a touch-sensitive surface (e.g., a touch screen display and/or a touch pad).

In the discussion that follows, an electronic device that includes a display and a touch-sensitive surface is described. It should be understood, however, that the electronic device optionally includes one or more other physical user-interface devices, such as a physical keyboard, a mouse and/or a joystick.

The device typically supports a variety of applications, such as one or more of the following: a drawing application, a presentation application, a word processing application, a website creation application, a disk authoring application, a spreadsheet application, a gaming application, a telephone application, a video conferencing application, an e-mail application, an instant messaging application, a workout support application, a photo management application, a digital camera application, a digital video camera application, a web browsing application, a digital music player application, and/or a digital video player application.

The various applications that are executed on the device optionally use at least one common physical user-interface device, such as the touch-sensitive surface. One or more functions of the touch-sensitive surface as well as corresponding information displayed on the device are, optionally, adjusted and/or varied from one application to the next and/or within a respective application. In this way, a common physical architecture (such as the touch-sensitive surface) of the device optionally supports the variety of applications with user interfaces that are intuitive and transparent to the user.

Attention is now directed toward embodiments of portable devices with touch-sensitive displays. FIG. 1A is a block diagram illustrating portable multifunction device 100 with touch-sensitive displays 112 in accordance with some embodiments. Touch-sensitive display 112 is sometimes called a “touch screen” for convenience, and is sometimes known as or called a touch-sensitive display system. Device 100 includes memory 102 (which optionally includes one or more computer readable storage mediums), memory controller 122, one or more processing units (CPU's) 120, peripherals interface 118, RF circuitry 108, audio circuitry 110, speaker 111, microphone 113, input/output (I/O) subsystem 106, other input or control devices 116, and external port 124. Device 100 optionally includes one or more optical sensors 164. Device 100 optionally includes one or more intensity sensors 165 for detecting intensity of contacts on device 100 (e.g., a touch-sensitive surface such as touch-sensitive display system 112 of device 100). Device 100 optionally includes one or more tactile output generators 167 for generating tactile outputs on device 100 (e.g., generating tactile outputs on a touch-sensitive surface such as touch-sensitive display system 112 of device 100 or touchpad 355 of device 300). These components optionally communicate over one or more communication buses or signal lines 103.

As used in the specification and claims, the term “intensity” of a contact on a touch-sensitive surface refers to the force or pressure (force per unit area) of a contact (e.g., a finger contact) on the touch sensitive surface, or to a substitute (proxy) for the force or pressure of a contact on the touch sensitive surface. The intensity of a contact has a range of values that includes at least four distinct values and more typically includes hundreds of distinct values (e.g., at least 256). Intensity of a contact is, optionally, determined (or measured) using various approaches and various sensors or combinations of sensors. For example, one or more force sensors underneath or adjacent to the touch-sensitive surface are, optionally, used to measure force at various points on the touch-sensitive surface. In some implementations, force measurements from multiple force sensors are combined (e.g., a weighted average) to determine an estimated force of a contact. Similarly, a pressure-sensitive tip of a stylus is, optionally, used to determine a pressure of the stylus on the touch-sensitive surface. Alternatively, the size of the contact area detected on the touch-sensitive surface and/or changes thereto, the capacitance of the touch-sensitive surface proximate to the contact and/or changes thereto, and/or the resistance of the touch-sensitive surface proximate to the contact and/or changes thereto are, optionally, used as a substitute for the force or pressure of the contact on the touch-sensitive surface. In some implementations, the substitute measurements for contact force or pressure are used directly to determine whether an intensity threshold has been exceeded (e.g., the intensity threshold is described in units corresponding to the substitute measurements). In some implementations, the substitute measurements for contact force or pressure are converted to an estimated force or pressure and the estimated force or pressure is used to determine whether an intensity threshold has been exceeded (e.g., the intensity threshold is a pressure threshold measured in units of pressure).

As used in the specification and claims, the term “tactile output” refers to physical displacement of a device relative to a previous position of the device, physical displacement of a component (e.g., a touch-sensitive surface) of a device relative to another component (e.g., housing) of the device, or displacement of the component relative to a center of mass of the device that will be detected by a user with the user's sense of touch. For example, in situations where the device or the component of the device is in contact with a surface of a user that is sensitive to touch (e.g., a finger, palm, or other part of a user's hand), the tactile output generated by the physical displacement will be interpreted by the user as a tactile sensation corresponding to a perceived change in physical characteristics of the device or the component of the device. For example, movement of a touch-sensitive surface (e.g., a touch-sensitive display or trackpad) is, optionally, interpreted by the user as a “down click” or “up click” of a physical actuator button. In some cases, a user will feel a tactile sensation such as an “down click” or “up click” even when there is no movement of a physical actuator button associated with the touch-sensitive surface that is physically pressed (e.g., displaced) by the user's movements. As another example, movement of the touch-sensitive surface is, optionally, interpreted or sensed by the user as “roughness” of the touch-sensitive surface, even when there is no change in smoothness of the touch-sensitive surface. While such interpretations of touch by a user will be subject to the individualized sensory perceptions of the user, there are many sensory perceptions of touch that are common to a large majority of users. Thus, when a tactile output is described as corresponding to a particular sensory perception of a user (e.g., an “up click,” a “down click,” “roughness”), unless otherwise stated, the generated tactile output corresponds to physical displacement of the device or a component thereof that will generate the described sensory perception for a typical (or average) user.

It should be appreciated that device 100 is only one example of a portable multifunction device, and that device 100 optionally has more or fewer components than shown, optionally combines two or more components, or optionally has a different configuration or arrangement of the components. The various components shown in FIG. 1A are implemented in hardware, software, or a combination of both hardware and software, including one or more signal processing and/or application specific integrated circuits.

Memory 102 optionally includes high-speed random access memory and optionally also includes non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other non-volatile solid-state memory devices. Access to memory 102 by other components of device 100, such as CPU 120 and the peripherals interface 118, is, optionally, controlled by memory controller 122.

Peripherals interface 118 can be used to couple input and output peripherals of the device to CPU 120 and memory 102. The one or more processors 120 run or execute various software programs and/or sets of instructions stored in memory 102 to perform various functions for device 100 and to process data.

In some embodiments, peripherals interface 118, CPU 120, and memory controller 122 are, optionally, implemented on a single chip, such as chip 104. In some other embodiments, they are, optionally, implemented on separate chips.

RF (radio frequency) circuitry 108 receives and sends RF signals, also called electromagnetic signals. RF circuitry 108 converts electrical signals to/from electromagnetic signals and communicates with communications networks and other communications devices via the electromagnetic signals. RF circuitry 108 optionally includes well-known circuitry for performing these functions, including but not limited to an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC chipset, a subscriber identity module (SIM) card, memory, and so forth. RF circuitry 108 optionally communicates with networks, such as the Internet, also referred to as the World Wide Web (WWW), an intranet and/or a wireless network, such as a cellular telephone network, a wireless local area network (LAN) and/or a metropolitan area network (MAN), and other devices by wireless communication. The wireless communication optionally uses any of a plurality of communications standards, protocols and technologies, including but not limited to Global System for Mobile Communications (GSM), Enhanced Data GSM Environment (EDGE), high-speed downlink packet access (HSDPA), high-speed uplink packet access (HSDPA), Evolution, Data-Only (EV-DO), HSPA, HSPA+, Dual-Cell HSPA (DC-HSPDA), long term evolution (LTE), near field communication (NFC), wideband code division multiple access (W-CDMA), code division multiple access (CDMA), time division multiple access (TDMA), Bluetooth, Wireless Fidelity (Wi-Fi) (e.g., IEEE 802.11a, IEEE 802.11b, IEEE 802.11g and/or IEEE 802.11n), voice over Internet Protocol (VoIP), Wi-MAX, a protocol for e-mail (e.g., Internet message access protocol (IMAP) and/or post office protocol (POP)), instant messaging (e.g., extensible messaging and presence protocol (XMPP), Session Initiation Protocol for Instant Messaging and Presence Leveraging Extensions (SIMPLE), Instant Messaging and Presence Service (IMPS)), and/or Short Message Service (SMS), or any other suitable communication protocol, including communication protocols not yet developed as of the filing date of this document.

Audio circuitry 110, speaker 111, and microphone 113 provide an audio interface between a user and device 100. Audio circuitry 110 receives audio data from peripherals interface 118, converts the audio data to an electrical signal, and transmits the electrical signal to speaker 111. Speaker 111 converts the electrical signal to human-audible sound waves. Audio circuitry 110 also receives electrical signals converted by microphone 113 from sound waves. Audio circuitry 110 converts the electrical signal to audio data and transmits the audio data to peripherals interface 118 for processing. Audio data is, optionally, retrieved from and/or transmitted to memory 102 and/or RF circuitry 108 by peripherals interface 118. In some embodiments, audio circuitry 110 also includes a headset jack (e.g., 212, FIG. 2). The headset jack provides an interface between audio circuitry 110 and removable audio input/output peripherals, such as output-only headphones or a headset with both output (e.g., a headphone for one or both ears) and input (e.g., a microphone).

I/O subsystem 106 couples input/output peripherals on device 100, such as touch screen 112 and other input control devices 116, to peripherals interface 118. I/O subsystem 106 optionally includes display controller 156, optical sensor controller 158, intensity sensor controller 159, haptic feedback controller 161 and one or more input controllers 160 for other input or control devices. The one or more input controllers 160 receive/send electrical signals from/to other input or control devices 116. The other input control devices 116 optionally include physical buttons (e.g., push buttons, rocker buttons, etc.), dials, slider switches, joysticks, click wheels, and so forth. In some alternate embodiments, input controller(s) 160 are, optionally, coupled to any (or none) of the following: a keyboard, infrared port, USB port, and a pointer device such as a mouse. The one or more buttons (e.g., 208, FIG. 2) optionally include an up/down button for volume control of speaker 111 and/or microphone 113. The one or more buttons optionally include a push button (e.g., 206, FIG. 2).

Touch-sensitive display 112 provides an input interface and an output interface between the device and a user. Display controller 156 receives and/or sends electrical signals from/to touch screen 112. Touch screen 112 displays visual output to the user. The visual output optionally includes graphics, text, icons, video, and any combination thereof (collectively termed “graphics”). In some embodiments, some or all of the visual output corresponds to user-interface objects.

Touch screen 112 has a touch-sensitive surface, sensor or set of sensors that accepts input from the user based on haptic and/or tactile contact. Touch screen 112 and display controller 156 (along with any associated modules and/or sets of instructions in memory 102) detect contact (and any movement or breaking of the contact) on touch screen 112 and converts the detected contact into interaction with user-interface objects (e.g., one or more soft keys, icons, web pages or images) that are displayed on touch screen 112. In an exemplary embodiment, a point of contact between touch screen 112 and the user corresponds to a finger of the user.

Touch screen 112 optionally uses LCD (liquid crystal display) technology, LPD (light emitting polymer display) technology, or LED (light emitting diode) technology, although other display technologies are used in other embodiments. Touch screen 112 and display controller 156 optionally detect contact and any movement or breaking thereof using any of a plurality of touch sensing technologies now known or later developed, including but not limited to capacitive, resistive, infrared, and surface acoustic wave technologies, as well as other proximity sensor arrays or other elements for determining one or more points of contact with touch screen 112. In an exemplary embodiment, projected mutual capacitance sensing technology is used, such as that found in the iPhone®, iPod Touch®, and iPad® from Apple Inc. of Cupertino, Calif.

Touch screen 112 optionally has a video resolution in excess of 100 dpi. In some embodiments, the touch screen has a video resolution of approximately 160 dpi. The user optionally makes contact with touch screen 112 using any suitable object or appendage, such as a stylus, a finger, and so forth. In some embodiments, the user interface is designed to work primarily with finger-based contacts and gestures, which can be less precise than stylus-based input due to the larger area of contact of a finger on the touch screen. In some embodiments, the device translates the rough finger-based input into a precise pointer/cursor position or command for performing the actions desired by the user.

In some embodiments, in addition to the touch screen, device 100 optionally includes a touchpad (not shown) for activating or deactivating particular functions. In some embodiments, the touchpad is a touch-sensitive area of the device that, unlike the touch screen, does not display visual output. The touchpad is, optionally, a touch-sensitive surface that is separate from touch screen 112 or an extension of the touch-sensitive surface formed by the touch screen.

Device 100 also includes power system 162 for powering the various components. Power system 162 optionally includes a power management system, one or more power sources (e.g., battery, alternating current (AC)), a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator (e.g., a light-emitting diode (LED)) and any other components associated with the generation, management and distribution of power in portable devices.

Device 100 optionally also includes one or more optical sensors 164. FIG. 1A shows an optical sensor coupled to optical sensor controller 158 in I/O subsystem 106. Optical sensor 164 optionally includes charge-coupled device (CCD) or complementary metal-oxide semiconductor (CMOS) phototransistors. Optical sensor 164 receives light from the environment, projected through one or more lens, and converts the light to data representing an image. In conjunction with imaging module 143 (also called a camera module), optical sensor 164 optionally captures still images or video. In some embodiments, an optical sensor is located on the back of device 100, opposite touch screen display 112 on the front of the device, so that the touch screen display is enabled for use as a viewfinder for still and/or video image acquisition. In some embodiments, another optical sensor is located on the front of the device so that the user's image is, optionally, obtained for videoconferencing while the user views the other video conference participants on the touch screen display.

Device 100 optionally also includes one or more contact intensity sensors 165. FIG. 1A shows a contact intensity sensor coupled to intensity sensor controller 159 in I/O subsystem 106. Contact intensity sensor 165 optionally includes one or more piezoresistive strain gauges, capacitive force sensors, electric force sensors, piezoelectric force sensors, optical force sensors, capacitive touch-sensitive surfaces, or other intensity sensors (e.g., sensors used to measure the force (or pressure) of a contact on a touch-sensitive surface). Contact intensity sensor 165 receives contact intensity information (e.g., pressure information or a proxy for pressure information) from the environment. In some embodiments, at least one contact intensity sensor is collocated with, or proximate to, a touch-sensitive surface (e.g., touch-sensitive display system 112). In some embodiments, at least one contact intensity sensor is located on the back of device 100, opposite touch screen display 112 which is located on the front of device 100.

Device 100 optionally also includes one or more proximity sensors 166. FIG. 1A shows proximity sensor 166 coupled to peripherals interface 118. Alternately, proximity sensor 166 is coupled to input controller 160 in I/O subsystem 106. In some embodiments, the proximity sensor turns off and disables touch screen 112 when the multifunction device is placed near the user's ear (e.g., when the user is making a phone call).

Device 100 optionally also includes one or more tactile output generators 167. FIG. 1A shows a tactile output generator coupled to haptic feedback controller 161 in I/O subsystem 106. Tactile output generator 167 optionally includes one or more electroacoustic devices such as speakers or other audio components and/or electromechanical devices that convert energy into linear motion such as a motor, solenoid, electroactive polymer, piezoelectric actuator, electrostatic actuator, or other tactile output generating component (e.g., a component that converts electrical signals into tactile outputs on the device). Contact intensity sensor 165 receives tactile feedback generation instructions from haptic feedback module 133 and generates tactile outputs on device 100 that are capable of being sensed by a user of device 100. In some embodiments, at least one tactile output generator is collocated with, or proximate to, a touch-sensitive surface (e.g., touch-sensitive display system 112) and, optionally, generates a tactile output by moving the touch-sensitive surface vertically (e.g., in/out of a surface of device 100) or laterally (e.g., back and forth in the same plane as a surface of device 100). In some embodiments, at least one tactile output generator sensor is located on the back of device 100, opposite touch screen display 112 which is located on the front of device 100.

Device 100 optionally also includes one or more accelerometers 168. FIG. 1A shows accelerometer 168 coupled to peripherals interface 118. Alternately, accelerometer 168 is, optionally, coupled to an input controller 160 in I/O subsystem 106. In some embodiments, information is displayed on the touch screen display in a portrait view or a landscape view based on an analysis of data received from the one or more accelerometers. Device 100 optionally includes, in addition to accelerometer(s) 168, a magnetometer (not shown) and a GPS (or GLONASS or other global navigation system) receiver (not shown) for obtaining information concerning the location and orientation (e.g., portrait or landscape) of device 100.

In some embodiments, the software components stored in memory 102 include operating system 126, communication module (or set of instructions) 128, contact/motion module (or set of instructions) 130, graphics module (or set of instructions) 132, text input module (or set of instructions) 134, Global Positioning System (GPS) module (or set of instructions) 135, and applications (or sets of instructions) 136. Furthermore, in some embodiments memory 102 stores device/global internal state 157, as shown in FIGS. 1A and 3. Device/global internal state 157 includes one or more of: active application state, indicating which applications, if any, are currently active; display state, indicating what applications, views or other information occupy various regions of touch screen display 112; sensor state, including information obtained from the device's various sensors and input control devices 116; and location information concerning the device's location and/or attitude.

Operating system 126 (e.g., Darwin, RTXC, LINUX, UNIX, OS X, WINDOWS, or an embedded operating system such as VxWorks) includes various software components and/or drivers for controlling and managing general system tasks (e.g., memory management, storage device control, power management, etc.) and facilitates communication between various hardware and software components.

Communication module 128 facilitates communication with other devices over one or more external ports 124 and also includes various software components for handling data received by RF circuitry 108 and/or external port 124. External port 124 (e.g., Universal Serial Bus (USB), FIREWIRE, etc.) is adapted for coupling directly to other devices or indirectly over a network (e.g., the Internet, wireless LAN, etc.). In some embodiments, the external port is a multi-pin (e.g., 30-pin) connector that is the same as, or similar to and/or compatible with the 30-pin connector used on iPod (trademark of Apple Inc.) devices.

Contact/motion module 130 optionally detects contact with touch screen 112 (in conjunction with display controller 156) and other touch sensitive devices (e.g., a touchpad or physical click wheel). Contact/motion module 130 includes various software components for performing various operations related to detection of contact, such as determining if contact has occurred (e.g., detecting a finger-down event), determining an intensity of the contact (e.g., the force or pressure of the contact or a substitute for the force or pressure of the contact) determining if there is movement of the contact and tracking the movement across the touch-sensitive surface (e.g., detecting one or more finger-dragging events), and determining if the contact has ceased (e.g., detecting a finger-up event or a break in contact). Contact/motion module 130 receives contact data from the touch-sensitive surface. Determining movement of the point of contact, which is represented by a series of contact data, optionally includes determining speed (magnitude), velocity (magnitude and direction), and/or an acceleration (a change in magnitude and/or direction) of the point of contact. These operations are, optionally, applied to single contacts (e.g., one finger contacts) or to multiple simultaneous contacts (e.g., “multitouch”/multiple finger contacts). In some embodiments, contact/motion module 130 and display controller 156 detect contact on a touchpad.

In some embodiments, contact/motion module 130 uses a set of one or more intensity thresholds to determine whether an operation has been performed by a user (e.g., to determine whether a user has “clicked” on an icon). In some embodiments at least a subset of the intensity thresholds are determined in accordance with software parameters (e.g., the intensity thresholds are not determined by the activation thresholds of particular physical actuators and can be adjusted without changing the physical hardware of device 100). For example, a mouse “click” threshold of a trackpad or touch screen display can be set to any of a large range of predefined thresholds values without changing the trackpad or touch screen display hardware. Additionally, in some implementations a user of the device is provided with software settings for adjusting one or more of the set of intensity thresholds (e.g., by adjusting individual intensity thresholds and/or by adjusting a plurality of intensity thresholds at once with a system-level click “intensity” parameter).

Contact/motion module 130 optionally detects a gesture input by a user. Different gestures on the touch-sensitive surface have different contact patterns and intensities. Thus, a gesture is, optionally, detected by detecting a particular contact pattern. For example, detecting a finger tap gesture includes detecting a finger-down event followed by detecting a finger-up (lift off) event at the same position (or substantially the same position) as the finger-down event (e.g., at the position of an icon). As another example, detecting a finger swipe gesture on the touch-sensitive surface includes detecting a finger-down event followed by detecting one or more finger-dragging events, and subsequently followed by detecting a finger-up (lift off) event.

Graphics module 132 includes various known software components for rendering and displaying graphics on touch screen 112 or other display, including components for changing the visual impact (e.g., brightness, transparency, saturation, contrast or other visual property) of graphics that are displayed. As used herein, the term “graphics” includes any object that can be displayed to a user, including without limitation text, web pages, icons (such as user-interface objects including soft keys), digital images, videos, animations and the like.

In some embodiments, graphics module 132 stores data representing graphics to be used. Each graphic is, optionally, assigned a corresponding code. Graphics module 132 receives, from applications etc., one or more codes specifying graphics to be displayed along with, if necessary, coordinate data and other graphic property data, and then generates screen image data to output to display controller 156.

Haptic feedback module 133 includes various software components for generating instructions used by tactile output generator(s) 167 to produce tactile outputs at one or more locations on device 100 in response to user interactions with device 100.

Text input module 134, which is, optionally, a component of graphics module 132, provides soft keyboards for entering text in various applications (e.g., contacts 137, e-mail 140, IM 141, browser 147, and any other application that needs text input).

GPS module 135 determines the location of the device and provides this information for use in various applications (e.g., to telephone 138 for use in location-based dialing, to camera 143 as picture/video metadata, and to applications that provide location-based services such as weather widgets, local yellow page widgets, and map/navigation widgets).

Applications 136 optionally include the following modules (or sets of instructions), or a subset or superset thereof:

-   -   contacts module 137 (sometimes called an address book or contact         list);     -   telephone module 138;     -   video conferencing module 139;     -   e-mail client module 140;     -   instant messaging (IM) module 141;     -   workout support module 142;     -   camera module 143 for still and/or video images;     -   image management module 144;     -   browser module 147;     -   calendar module 148;     -   widget modules 149, which optionally include one or more of:         weather widget 149-1, stocks widget 149-2, calculator widget         149-3, alarm clock widget 149-4, dictionary widget 149-5, and         other widgets obtained by the user, as well as user-created         widgets 149-6;     -   widget creator module 150 for making user-created widgets 149-6;     -   search module 151;     -   video and music player module 152, which is, optionally, made up         of a video player module and a music player module;     -   notes module 153;     -   map module 154; and/or     -   online video module 155.

Examples of other applications 136 that are, optionally, stored in memory 102 include other word processing applications, other image editing applications, drawing applications, presentation applications, JAVA-enabled applications, encryption, digital rights management, voice recognition, and voice replication.

In conjunction with touch screen 112, display controller 156, contact module 130, graphics module 132, and text input module 134, contacts module 137 are, optionally, used to manage an address book or contact list (e.g., stored in application internal state 192 of contacts module 137 in memory 102 or memory 370), including: adding name(s) to the address book; deleting name(s) from the address book; associating telephone number(s), e-mail address(es), physical address(es) or other information with a name; associating an image with a name; categorizing and sorting names; providing telephone numbers or e-mail addresses to initiate and/or facilitate communications by telephone 138, video conference 139, e-mail 140, or IM 141; and so forth.

In conjunction with RF circuitry 108, audio circuitry 110, speaker 111, microphone 113, touch screen 112, display controller 156, contact module 130, graphics module 132, and text input module 134, telephone module 138 are, optionally, used to enter a sequence of characters corresponding to a telephone number, access one or more telephone numbers in address book 137, modify a telephone number that has been entered, dial a respective telephone number, conduct a conversation and disconnect or hang up when the conversation is completed. As noted above, the wireless communication optionally uses any of a plurality of communications standards, protocols and technologies.

In conjunction with RF circuitry 108, audio circuitry 110, speaker 111, microphone 113, touch screen 112, display controller 156, optical sensor 164, optical sensor controller 158, contact module 130, graphics module 132, text input module 134, contact list 137, and telephone module 138, videoconferencing module 139 includes executable instructions to initiate, conduct, and terminate a video conference between a user and one or more other participants in accordance with user instructions.

In conjunction with RF circuitry 108, touch screen 112, display controller 156, contact module 130, graphics module 132, and text input module 134, e-mail client module 140 includes executable instructions to create, send, receive, and manage e-mail in response to user instructions. In conjunction with image management module 144, e-mail client module 140 makes it very easy to create and send e-mails with still or video images taken with camera module 143.

In conjunction with RF circuitry 108, touch screen 112, display controller 156, contact module 130, graphics module 132, and text input module 134, the instant messaging module 141 includes executable instructions to enter a sequence of characters corresponding to an instant message, to modify previously entered characters, to transmit a respective instant message (for example, using a Short Message Service (SMS) or Multimedia Message Service (MMS) protocol for telephony-based instant messages or using XMPP, SIMPLE, or IMPS for Internet-based instant messages), to receive instant messages and to view received instant messages. In some embodiments, transmitted and/or received instant messages optionally include graphics, photos, audio files, video files and/or other attachments as are supported in a MMS and/or an Enhanced Messaging Service (EMS). As used herein, “instant messaging” refers to both telephony-based messages (e.g., messages sent using SMS or MMS) and Internet-based messages (e.g., messages sent using XMPP, SIMPLE, or IMPS).

In conjunction with RF circuitry 108, touch screen 112, display controller 156, contact module 130, graphics module 132, text input module 134, GPS module 135, map module 154, and music player module 146, workout support module 142 includes executable instructions to create workouts (e.g., with time, distance, and/or calorie burning goals); communicate with workout sensors (sports devices); receive workout sensor data; calibrate sensors used to monitor a workout; select and play music for a workout; and display, store and transmit workout data.

In conjunction with touch screen 112, display controller 156, optical sensor(s) 164, optical sensor controller 158, contact module 130, graphics module 132, and image management module 144, camera module 143 includes executable instructions to capture still images or video (including a video stream) and store them into memory 102, modify characteristics of a still image or video, or delete a still image or video from memory 102.

In conjunction with touch screen 112, display controller 156, contact module 130, graphics module 132, text input module 134, and camera module 143, image management module 144 includes executable instructions to arrange, modify (e.g., edit), or otherwise manipulate, label, delete, present (e.g., in a digital slide show or album), and store still and/or video images.

In conjunction with RF circuitry 108, touch screen 112, display system controller 156, contact module 130, graphics module 132, and text input module 134, browser module 147 includes executable instructions to browse the Internet in accordance with user instructions, including searching, linking to, receiving, and displaying web pages or portions thereof, as well as attachments and other files linked to web pages.

In conjunction with RF circuitry 108, touch screen 112, display system controller 156, contact module 130, graphics module 132, text input module 134, e-mail client module 140, and browser module 147, calendar module 148 includes executable instructions to create, display, modify, and store calendars and data associated with calendars (e.g., calendar entries, to do lists, etc.) in accordance with user instructions.

In conjunction with RF circuitry 108, touch screen 112, display system controller 156, contact module 130, graphics module 132, text input module 134, and browser module 147, widget modules 149 are mini-applications that are, optionally, downloaded and used by a user (e.g., weather widget 149-1, stocks widget 149-2, calculator widget 149-3, alarm clock widget 149-4, and dictionary widget 149-5) or created by the user (e.g., user-created widget 149-6). In some embodiments, a widget includes an HTML (Hypertext Markup Language) file, a CSS (Cascading Style Sheets) file, and a JavaScript file. In some embodiments, a widget includes an XML (Extensible Markup Language) file and a JavaScript file (e.g., Yahoo! Widgets).

In conjunction with RF circuitry 108, touch screen 112, display system controller 156, contact module 130, graphics module 132, text input module 134, and browser module 147, the widget creator module 150 are, optionally, used by a user to create widgets (e.g., turning a user-specified portion of a web page into a widget).

In conjunction with touch screen 112, display system controller 156, contact module 130, graphics module 132, and text input module 134, search module 151 includes executable instructions to search for text, music, sound, image, video, and/or other files in memory 102 that match one or more search criteria (e.g., one or more user-specified search terms) in accordance with user instructions.

In conjunction with touch screen 112, display system controller 156, contact module 130, graphics module 132, audio circuitry 110, speaker 111, RF circuitry 108, and browser module 147, video and music player module 152 includes executable instructions that allow the user to download and play back recorded music and other sound files stored in one or more file formats, such as MP3 or AAC files, and executable instructions to display, present or otherwise play back videos (e.g., on touch screen 112 or on an external, connected display via external port 124). In some embodiments, device 100 optionally includes the functionality of an MP3 player, such as an iPod (trademark of Apple Inc.).

In conjunction with touch screen 112, display controller 156, contact module 130, graphics module 132, and text input module 134, notes module 153 includes executable instructions to create and manage notes, to do lists, and the like in accordance with user instructions.

In conjunction with RF circuitry 108, touch screen 112, display system controller 156, contact module 130, graphics module 132, text input module 134, GPS module 135, and browser module 147, map module 154 are, optionally, used to receive, display, modify, and store maps and data associated with maps (e.g., driving directions; data on stores and other points of interest at or near a particular location; and other location-based data) in accordance with user instructions.

In conjunction with touch screen 112, display system controller 156, contact module 130, graphics module 132, audio circuitry 110, speaker 111, RF circuitry 108, text input module 134, e-mail client module 140, and browser module 147, online video module 155 includes instructions that allow the user to access, browse, receive (e.g., by streaming and/or download), play back (e.g., on the touch screen or on an external, connected display via external port 124), send an e-mail with a link to a particular online video, and otherwise manage online videos in one or more file formats, such as H.264. In some embodiments, instant messaging module 141, rather than e-mail client module 140, is used to send a link to a particular online video.

Each of the above identified modules and applications correspond to a set of executable instructions for performing one or more functions described above and the methods described in this application (e.g., the computer-implemented methods and other information processing methods described herein). These modules (i.e., sets of instructions) need not be implemented as separate software programs, procedures or modules, and thus various subsets of these modules are, optionally, combined or otherwise re-arranged in various embodiments. In some embodiments, memory 102 optionally stores a subset of the modules and data structures identified above. Furthermore, memory 102 optionally stores additional modules and data structures not described above.

In some embodiments, device 100 is a device where operation of a predefined set of functions on the device is performed exclusively through a touch screen and/or a touchpad. By using a touch screen and/or a touchpad as the primary input control device for operation of device 100, the number of physical input control devices (such as push buttons, dials, and the like) on device 100 is, optionally, reduced.

The predefined set of functions that are performed exclusively through a touch screen and/or a touchpad optionally include navigation between user interfaces. In some embodiments, the touchpad, when touched by the user, navigates device 100 to a main, home, or root menu from any user interface that is displayed on device 100. In such embodiments, a “menu button” is implemented using a touchpad. In some other embodiments, the menu button is a physical push button or other physical input control device instead of a touchpad.

FIG. 1B is a block diagram illustrating exemplary components for event handling in accordance with some embodiments. In some embodiments, memory 102 (in FIG. 1A) or 370 (FIG. 3) includes event sorter 170 (e.g., in operating system 126) and a respective application 136-1 (e.g., any of the aforementioned applications 137-151, 155, 380-390).

Event sorter 170 receives event information and determines the application 136-1 and application view 191 of application 136-1 to which to deliver the event information. Event sorter 170 includes event monitor 171 and event dispatcher module 174. In some embodiments, application 136-1 includes application internal state 192, which indicates the current application view(s) displayed on touch sensitive display 112 when the application is active or executing. In some embodiments, device/global internal state 157 is used by event sorter 170 to determine which application(s) is (are) currently active, and application internal state 192 is used by event sorter 170 to determine application views 191 to which to deliver event information.

In some embodiments, application internal state 192 includes additional information, such as one or more of: resume information to be used when application 136-1 resumes execution, user interface state information that indicates information being displayed or that is ready for display by application 136-1, a state queue for enabling the user to go back to a prior state or view of application 136-1, and a redo/undo queue of previous actions taken by the user.

Event monitor 171 receives event information from peripherals interface 118. Event information includes information about a sub-event (e.g., a user touch on touch-sensitive display 112, as part of a multi-touch gesture). Peripherals interface 118 transmits information it receives from I/O subsystem 106 or a sensor, such as proximity sensor 166, accelerometer(s) 168, and/or microphone 113 (through audio circuitry 110). Information that peripherals interface 118 receives from I/O subsystem 106 includes information from touch-sensitive display 112 or a touch-sensitive surface.

In some embodiments, event monitor 171 sends requests to the peripherals interface 118 at predetermined intervals. In response, peripherals interface 118 transmits event information. In other embodiments, peripheral interface 118 transmits event information only when there is a significant event (e.g., receiving an input above a predetermined noise threshold and/or for more than a predetermined duration).

In some embodiments, event sorter 170 also includes a hit view determination module 172 and/or an active event recognizer determination module 173.

Hit view determination module 172 provides software procedures for determining where a sub-event has taken place within one or more views, when touch sensitive display 112 displays more than one view. Views are made up of controls and other elements that a user can see on the display.

Another aspect of the user interface associated with an application is a set of views, sometimes herein called application views or user interface windows, in which information is displayed and touch-based gestures occur. The application views (of a respective application) in which a touch is detected optionally correspond to programmatic levels within a programmatic or view hierarchy of the application. For example, the lowest level view in which a touch is detected is, optionally, called the hit view, and the set of events that are recognized as proper inputs are, optionally, determined based, at least in part, on the hit view of the initial touch that begins a touch-based gesture.

Hit view determination module 172 receives information related to sub-events of a touch-based gesture. When an application has multiple views organized in a hierarchy, hit view determination module 172 identifies a hit view as the lowest view in the hierarchy which should handle the sub-event. In most circumstances, the hit view is the lowest level view in which an initiating sub-event occurs (i.e., the first sub-event in the sequence of sub-events that form an event or potential event). Once the hit view is identified by the hit view determination module, the hit view typically receives all sub-events related to the same touch or input source for which it was identified as the hit view.

Active event recognizer determination module 173 determines which view or views within a view hierarchy should receive a particular sequence of sub-events. In some embodiments, active event recognizer determination module 173 determines that only the hit view should receive a particular sequence of sub-events. In other embodiments, active event recognizer determination module 173 determines that all views that include the physical location of a sub-event are actively involved views, and therefore determines that all actively involved views should receive a particular sequence of sub-events. In other embodiments, even if touch sub-events were entirely confined to the area associated with one particular view, views higher in the hierarchy would still remain as actively involved views.

Event dispatcher module 174 dispatches the event information to an event recognizer (e.g., event recognizer 180). In embodiments including active event recognizer determination module 173, event dispatcher module 174 delivers the event information to an event recognizer determined by active event recognizer determination module 173. In some embodiments, event dispatcher module 174 stores in an event queue the event information, which is retrieved by a respective event receiver module 182.

In some embodiments, operating system 126 includes event sorter 170. Alternatively, application 136-1 includes event sorter 170. In yet other embodiments, event sorter 170 is a stand-alone module, or a part of another module stored in memory 102, such as contact/motion module 130.

In some embodiments, application 136-1 includes a plurality of event handlers 190 and one or more application views 191, each of which includes instructions for handling touch events that occur within a respective view of the application's user interface. Each application view 191 of the application 136-1 includes one or more event recognizers 180. Typically, a respective application view 191 includes a plurality of event recognizers 180. In other embodiments, one or more of event recognizers 180 are part of a separate module, such as a user interface kit (not shown) or a higher level object from which application 136-1 inherits methods and other properties. In some embodiments, a respective event handler 190 includes one or more of: data updater 176, object updater 177, GUI updater 178, and/or event data 179 received from event sorter 170. Event handler 190 optionally utilizes or calls data updater 176, object updater 177 or GUI updater 178 to update the application internal state 192. Alternatively, one or more of the application views 191 includes one or more respective event handlers 190. Also, in some embodiments, one or more of data updater 176, object updater 177, and GUI updater 178 are included in a respective application view 191.

A respective event recognizer 180 receives event information (e.g., event data 179) from event sorter 170, and identifies an event from the event information. Event recognizer 180 includes event receiver 182 and event comparator 184. In some embodiments, event recognizer 180 also includes at least a subset of: metadata 183, and event delivery instructions 188 (which optionally include sub-event delivery instructions).

Event receiver 182 receives event information from event sorter 170. The event information includes information about a sub-event, for example, a touch or a touch movement. Depending on the sub-event, the event information also includes additional information, such as location of the sub-event. When the sub-event concerns motion of a touch, the event information optionally also includes speed and direction of the sub-event. In some embodiments, events include rotation of the device from one orientation to another (e.g., from a portrait orientation to a landscape orientation, or vice versa), and the event information includes corresponding information about the current orientation (also called device attitude) of the device.

Event comparator 184 compares the event information to predefined event or sub-event definitions and, based on the comparison, determines an event or sub-event, or determines or updates the state of an event or sub-event. In some embodiments, event comparator 184 includes event definitions 186. Event definitions 186 contain definitions of events (e.g., predefined sequences of sub-events), for example, event 1 (187-1), event 2 (187-2), and others. In some embodiments, sub-events in an event 187 include, for example, touch begin, touch end, touch movement, touch cancellation, and multiple touching. In one example, the definition for event 1 (187-1) is a double tap on a displayed object. The double tap, for example, comprises a first touch (touch begin) on the displayed object for a predetermined phase, a first lift-off (touch end) for a predetermined phase, a second touch (touch begin) on the displayed object for a predetermined phase, and a second lift-off (touch end) for a predetermined phase. In another example, the definition for event 2 (187-2) is a dragging on a displayed object. The dragging, for example, comprises a touch (or contact) on the displayed object for a predetermined phase, a movement of the touch across touch-sensitive display 112, and lift-off of the touch (touch end). In some embodiments, the event also includes information for one or more associated event handlers 190.

In some embodiments, event definition 187 includes a definition of an event for a respective user-interface object. In some embodiments, event comparator 184 performs a hit test to determine which user-interface object is associated with a sub-event. For example, in an application view in which three user-interface objects are displayed on touch-sensitive display 112, when a touch is detected on touch-sensitive display 112, event comparator 184 performs a hit test to determine which of the three user-interface objects is associated with the touch (sub-event). If each displayed object is associated with a respective event handler 190, the event comparator uses the result of the hit test to determine which event handler 190 should be activated. For example, event comparator 184 selects an event handler associated with the sub-event and the object triggering the hit test.

In some embodiments, the definition for a respective event 187 also includes delayed actions that delay delivery of the event information until after it has been determined whether the sequence of sub-events does or does not correspond to the event recognizer's event type.

When a respective event recognizer 180 determines that the series of sub-events do not match any of the events in event definitions 186, the respective event recognizer 180 enters an event impossible, event failed, or event ended state, after which it disregards subsequent sub-events of the touch-based gesture. In this situation, other event recognizers, if any, that remain active for the hit view continue to track and process sub-events of an ongoing touch-based gesture.

In some embodiments, a respective event recognizer 180 includes metadata 183 with configurable properties, flags, and/or lists that indicate how the event delivery system should perform sub-event delivery to actively involved event recognizers. In some embodiments, metadata 183 includes configurable properties, flags, and/or lists that indicate how event recognizers interact, or are enabled to interact, with one another. In some embodiments, metadata 183 includes configurable properties, flags, and/or lists that indicate whether sub-events are delivered to varying levels in the view or programmatic hierarchy.

In some embodiments, a respective event recognizer 180 activates event handler 190 associated with an event when one or more particular sub-events of an event are recognized. In some embodiments, a respective event recognizer 180 delivers event information associated with the event to event handler 190. Activating an event handler 190 is distinct from sending (and deferred sending) sub-events to a respective hit view. In some embodiments, event recognizer 180 throws a flag associated with the recognized event, and event handler 190 associated with the flag catches the flag and performs a predefined process.

In some embodiments, event delivery instructions 188 include sub-event delivery instructions that deliver event information about a sub-event without activating an event handler. Instead, the sub-event delivery instructions deliver event information to event handlers associated with the series of sub-events or to actively involved views. Event handlers associated with the series of sub-events or with actively involved views receive the event information and perform a predetermined process.

In some embodiments, data updater 176 creates and updates data used in application 136-1. For example, data updater 176 updates the telephone number used in contacts module 137, or stores a video file used in video player module 145. In some embodiments, object updater 177 creates and updates objects used in application 136-1. For example, object updater 177 creates a new user-interface object or updates the position of a user-interface object. GUI updater 178 updates the GUI. For example, GUI updater 178 prepares display information and sends it to graphics module 132 for display on a touch-sensitive display.

In some embodiments, event handler(s) 190 includes or has access to data updater 176, object updater 177, and GUI updater 178. In some embodiments, data updater 176, object updater 177, and GUI updater 178 are included in a single module of a respective application 136-1 or application view 191. In other embodiments, they are included in two or more software modules.

It shall be understood that the foregoing discussion regarding event handling of user touches on touch-sensitive displays also applies to other forms of user inputs to operate multifunction devices 100 with input-devices, not all of which are initiated on touch screens. For example, mouse movement and mouse button presses, optionally coordinated with single or multiple keyboard presses or holds; contact movements such as taps, drags, scrolls, etc., on touch-pads; pen stylus inputs; movement of the device; oral instructions; detected eye movements; biometric inputs; and/or any combination thereof are optionally utilized as inputs corresponding to sub-events which define an event to be recognized.

FIG. 2 illustrates a portable multifunction device 100 having a touch screen 112 in accordance with some embodiments. The touch screen optionally displays one or more graphics within user interface (UI) 200. In this embodiment, as well as others described below, a user is enabled to select one or more of the graphics by making a gesture on the graphics, for example, with one or more fingers 202 (not drawn to scale in the figure) or one or more styluses 203 (not drawn to scale in the figure). In some embodiments, selection of one or more graphics occurs when the user breaks contact with the one or more graphics. In some embodiments, the gesture optionally includes one or more taps, one or more swipes (from left to right, right to left, upward and/or downward) and/or a rolling of a finger (from right to left, left to right, upward and/or downward) that has made contact with device 100. In some implementations or circumstances, inadvertent contact with a graphic does not select the graphic. For example, a swipe gesture that sweeps over an application icon optionally does not select the corresponding application when the gesture corresponding to selection is a tap.

Device 100 optionally also includes one or more physical buttons, such as “home” or menu button 204. As described previously, menu button 204 is, optionally, used to navigate to any application 136 in a set of applications that are, optionally executed on device 100. Alternatively, in some embodiments, the menu button is implemented as a soft key in a GUI displayed on touch screen 112.

In one embodiment, device 100 includes touch screen 112, menu button 204, push button 206 for powering the device on/off and locking the device, volume adjustment button(s) 208, Subscriber Identity Module (SIM) card slot 210, head set jack 212, and docking/charging external port 124. Push button 206 is, optionally, used to turn the power on/off on the device by depressing the button and holding the button in the depressed state for a predefined time interval; to lock the device by depressing the button and releasing the button before the predefined time interval has elapsed; and/or to unlock the device or initiate an unlock process. In an alternative embodiment, device 100 also accepts verbal input for activation or deactivation of some functions through microphone 113. Device 100 also, optionally, includes one or more contact intensity sensors 165 for detecting intensity of contacts on touch screen 112 and/or one or more tactile output generators 167 for generating tactile outputs for a user of device 100.

FIG. 3 is a block diagram of an exemplary multifunction device with a display and a touch-sensitive surface in accordance with some embodiments. Device 300 need not be portable. In some embodiments, device 300 is a laptop computer, a desktop computer, a tablet computer, a multimedia player device, a navigation device, an educational device (such as a child's learning toy), a gaming system, or a control device (e.g., a home or industrial controller). Device 300 typically includes one or more processing units (CPU's) 310, one or more network or other communications interfaces 360, memory 370, and one or more communication buses 320 for interconnecting these components. Communication buses 320 optionally include circuitry (sometimes called a chipset) that interconnects and controls communications between system components. Device 300 includes input/output (I/O) interface 330 comprising display 340, which is typically a touch screen display. I/O interface 330 also optionally includes a keyboard and/or mouse (or other pointing device) 350 and touchpad 355, tactile output generator 357 for generating tactile outputs on device 300 (e.g., similar to tactile output generator(s) 167 described above with reference to FIG. 1A), sensors 359 (e.g., optical, acceleration, proximity, touch-sensitive, and/or contact intensity sensors similar to contact intensity sensor(s) 165 described above with reference to FIG. 1A). Memory 370 includes high-speed random access memory, such as DRAM, SRAM, DDR RAM or other random access solid state memory devices; and optionally includes non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid state storage devices. Memory 370 optionally includes one or more storage devices remotely located from CPU(s) 310. In some embodiments, memory 370 stores programs, modules, and data structures analogous to the programs, modules, and data structures stored in memory 102 of portable multifunction device 100 (FIG. 1A), or a subset thereof. Furthermore, memory 370 optionally stores additional programs, modules, and data structures not present in memory 102 of portable multifunction device 100. For example, memory 370 of device 300 optionally stores drawing module 380, presentation module 382, word processing module 384, website creation module 386, disk authoring module 388, and/or spreadsheet module 390, while memory 102 of portable multifunction device 100 (FIG. 1A) optionally does not store these modules.

Each of the above identified elements in FIG. 3 are, optionally, stored in one or more of the previously mentioned memory devices. Each of the above identified modules corresponds to a set of instructions for performing a function described above. The above identified modules or programs (i.e., sets of instructions) need not be implemented as separate software programs, procedures or modules, and thus various subsets of these modules are, optionally, combined or otherwise re-arranged in various embodiments. In some embodiments, memory 370 optionally stores a subset of the modules and data structures identified above. Furthermore, memory 370 optionally stores additional modules and data structures not described above.

Attention is now directed towards embodiments of user interfaces (“UI”) that is, optionally, implemented on portable multifunction device 100.

FIG. 4A illustrates an exemplary user interface for a menu of applications on portable multifunction device 100 in accordance with some embodiments. Similar user interfaces are, optionally, implemented on device 300. In some embodiments, user interface 400 includes the following elements, or a subset or superset thereof:

-   -   Signal strength indicator(s) 402 for wireless communication(s),         such as cellular and Wi-Fi signals;     -   Time 404;     -   Bluetooth indicator 405;     -   Battery status indicator 406;     -   Tray 408 with icons for frequently used applications, such as:         -   Icon 416 for telephone module 138, labeled “Phone,” which             optionally includes an indicator 414 of the number of missed             calls or voicemail messages;     -   Icon 418 for e-mail client module 140, labeled “Mail,” which         optionally includes an indicator 410 of the number of unread         e-mails;         -   Icon 420 for browser module 147, labeled “Browser;” and         -   Icon 422 for video and music player module 152, also             referred to as iPod (trademark of Apple Inc.) module 152,             labeled “iPod;” and     -   Icons for other applications, such as:         -   Icon 424 for IM module 141, labeled “Text;”         -   Icon 426 for calendar module 148, labeled “Calendar;”         -   Icon 428 for image management module 144, labeled “Photos;”         -   Icon 430 for camera module 143, labeled “Camera;”         -   Icon 432 for online video module 155, labeled “Online Video”         -   Icon 434 for stocks widget 149-2, labeled “Stocks;”         -   Icon 436 for map module 154, labeled “Map;”         -   Icon 438 for weather widget 149-1, labeled “Weather;”         -   Icon 440 for alarm clock widget 149-4, labeled “Clock;”         -   Icon 442 for workout support module 142, labeled “Workout             Support;”         -   Icon 444 for notes module 153, labeled “Notes;” and         -   Icon 446 for a settings application or module, which             provides access to settings for device 100 and its various             applications 136.

It should be noted that the icon labels illustrated in FIG. 4A are merely exemplary. For example, icon 422 for video and music player module 152 are labeled “Music” or “Music Player.” Other labels are, optionally, used for various application icons. In some embodiments, a label for a respective application icon includes a name of an application corresponding to the respective application icon. In some embodiments, a label for a particular application icon is distinct from a name of an application corresponding to the particular application icon.

FIG. 4B illustrates an exemplary user interface on a device (e.g., device 300, FIG. 3) with a touch-sensitive surface 451 (e.g., a tablet or touchpad 355, FIG. 3) that is separate from the display 450 (e.g., touch screen display 112). Device 300 also, optionally, includes one or more contact intensity sensors (e.g., one or more of sensors 357) for detecting intensity of contacts on touch-sensitive surface 451 and/or one or more tactile output generators 359 for generating tactile outputs for a user of device 300.

Although some of the examples which follow will be given with reference to inputs on touch screen display 112 (where the touch sensitive surface and the display are combined), in some embodiments, the device detects inputs on a touch-sensitive surface that is separate from the display, as shown in FIG. 4B. In some embodiments the touch sensitive surface (e.g., 451 in FIG. 4B) has a primary axis (e.g., 452 in FIG. 4B) that corresponds to a primary axis (e.g., 453 in FIG. 4B) on the display (e.g., 450). In accordance with these embodiments, the device detects contacts (e.g., 460 and 462 in FIG. 4B) with the touch-sensitive surface 451 at locations that correspond to respective locations on the display (e.g., in FIG. 4B, 460 corresponds to 468 and 462 corresponds to 470). In this way, user inputs (e.g., contacts 460 and 462, and movements thereof) detected by the device on the touch-sensitive surface (e.g., 451 in FIG. 4B) are used by the device to manipulate the user interface on the display (e.g., 450 in FIG. 4B) of the multifunction device when the touch-sensitive surface is separate from the display. It should be understood that similar methods are, optionally, used for other user interfaces described herein.

Additionally, while the following examples are given primarily with reference to finger inputs (e.g., finger contacts, finger tap gestures, finger swipe gestures), it should be understood that, in some embodiments, one or more of the finger inputs are replaced with input from another input device (e.g., a mouse based input or stylus input). For example, a swipe gesture is, optionally, replaced with a mouse click (e.g., instead of a contact) followed by movement of the cursor along the path of the swipe (e.g., instead of movement of the contact). As another example, a tap gesture is, optionally, replaced with a mouse click while the cursor is located over the location of the tap gesture (e.g., instead of detection of the contact followed by ceasing to detect the contact). Similarly, when multiple user inputs are simultaneously detected, it should be understood that multiple computer mice are, optionally, used simultaneously, or a mouse and finger contacts are, optionally, used simultaneously.

As used herein, the term “focus selector” refers to an input element that indicates a current part of a user interface with which a user is interacting. In some implementations that include a cursor or other location marker, the cursor acts as a “focus selector,” so that when an input (e.g., a press input) is detected on a touch-sensitive surface (e.g., touchpad 355 in FIG. 3 or touch-sensitive surface 451 in FIG. 4B) while the cursor is over a particular user interface element (e.g., a button, window, slider or other user interface element), the particular user interface element is adjusted in accordance with the detected input. In some implementations that include a touch-screen display (e.g., touch-sensitive display system 112 in FIG. 1A or touch screen 112 in FIG. 4A) that enables direct interaction with user interface elements on the touch-screen display, a detected contact on the touch-screen acts as a “focus selector,” so that when an input (e.g., a press input by the contact) is detected on the touch-screen display at a location of a particular user interface element (e.g., a button, window, slider or other user interface element), the particular user interface element is adjusted in accordance with the detected input. In some implementations focus is moved from one region of a user interface to another region of the user interface without corresponding movement of a cursor or movement of a contact on a touch-screen display (e.g., by using a tab key or arrow keys to move focus from one button to another button); in these implementations, the focus selector moves in accordance with movement of focus between different regions of the user interface. Without regard to the specific form taken by the focus selector, the focus selector is generally the user interface element (or contact on a touch-screen display) that is controlled by the user so as to communicate the user's intended interaction with the user interface (e.g., by indicating, to the device, the element of the user interface with which the user is intending to interact). For example, the location of a focus selector (e.g., a cursor, a contact or a selection box) over a respective button while a press input is detected on the touch-sensitive surface (e.g., a touchpad or touch screen) will indicate that the user is intending to activate the respective button (as opposed to other user interface elements shown on a display of the device).

The user interface figures described below include various intensity diagrams that show the current intensity of the contact on the touch-sensitive surface relative to one or more intensity thresholds (e.g., a contact detection intensity threshold IT₀, a light press intensity threshold IT_(L), a deep press intensity threshold IT_(D), and/or one or more other intensity thresholds). This intensity diagram is typically not part of the displayed user interface, but is provided to aid in the interpretation of the figures. In some embodiments, the light press intensity threshold corresponds to an intensity at which the device will perform operations typically associated with clicking a button of a physical mouse or a trackpad. In some embodiments, the deep press intensity threshold corresponds to an intensity at which the device will perform operations that are different from operations typically associated with clicking a button of a physical mouse or a trackpad. In some embodiments, when a contact is detected with an intensity below the light press intensity threshold (e.g., and above a nominal contact-detection intensity threshold IT₀ below which the contact is no longer detected), the device will move a focus selector in accordance with movement of the contact on the touch-sensitive surface without performing an operation associated with the light press intensity threshold or the deep press intensity threshold. Generally, unless otherwise stated, these intensity thresholds are consistent between different sets of user interface figures.

An increase of intensity of the contact from an intensity below the light press intensity threshold IT_(L) to an intensity between the light press intensity threshold IT_(L) and the deep press intensity threshold IT_(D) is sometimes referred to as a “light press” input. An increase of intensity of the contact from an intensity below the deep press intensity threshold IT_(D) to an intensity above the deep press intensity threshold IT_(D) is sometimes referred to as a “deep press” input. An increase of intensity of the contact from an intensity below the contact-detection intensity threshold IT₀ to an intensity between the contact-detection intensity threshold IT₀ and the light press intensity threshold IT_(L) is sometimes referred to as detecting the contact on the touch-surface. A decrease of intensity of the contact from an intensity above the contact-detection intensity threshold IT₀ to an intensity below the contact intensity threshold IT₀ is sometimes referred to as detecting liftoff of the contact from the touch-surface. In some embodiments IT₀ is zero. In some embodiments IT₀ is greater than zero. In some illustrations a shaded circle or oval is used to represent intensity of a contact on the touch-sensitive surface. In some illustrations a circle or oval without shading is used represent a respective contact on the touch-sensitive surface without specifying the intensity of the respective contact.

In some embodiments described herein, one or more operations are performed in response to detecting a gesture that includes a respective press input or in response to detecting the respective press input performed with a respective contact (or a plurality of contacts), where the respective press input is detected based at least in part on detecting an increase in intensity of the contact (or plurality of contacts) above a press-input intensity threshold. In some embodiments, the respective operation is performed in response to detecting the increase in intensity of the respective contact above the press-input intensity threshold (e.g., a “down stroke” of the respective press input). In some embodiments, the press input includes an increase in intensity of the respective contact above the press-input intensity threshold and a subsequent decrease in intensity of the contact below the press-input intensity threshold, and the respective operation is performed in response to detecting the subsequent decrease in intensity of the respective contact below the press-input threshold (e.g., an “up stroke” of the respective press input).

In some embodiments, the device employs intensity hysteresis to avoid accidental inputs sometimes termed “jitter,” where the device defines or selects a hysteresis intensity threshold with a predefined relationship to the press-input intensity threshold (e.g., the hysteresis intensity threshold is X intensity units lower than the press-input intensity threshold or the hysteresis intensity threshold is 75%, 90% or some reasonable proportion of the press-input intensity threshold). Thus, in some embodiments, the press input includes an increase in intensity of the respective contact above the press-input intensity threshold and a subsequent decrease in intensity of the contact below the hysteresis intensity threshold that corresponds to the press-input intensity threshold, and the respective operation is performed in response to detecting the subsequent decrease in intensity of the respective contact below the hysteresis intensity threshold (e.g., an “up stroke” of the respective press input). Similarly, in some embodiments, the press input is detected only when the device detects an increase in intensity of the contact from an intensity at or below the hysteresis intensity threshold to an intensity at or above the press-input intensity threshold and, optionally, a subsequent decrease in intensity of the contact to an intensity at or below the hysteresis intensity, and the respective operation is performed in response to detecting the press input (e.g., the increase in intensity of the contact or the decrease in intensity of the contact, depending on the circumstances).

For ease of explanation, the description of operations performed in response to a press input associated with a press-input intensity threshold or in response to a gesture including the press input are, optionally, triggered in response to detecting either: an increase in intensity of a contact above the press-input intensity threshold, an increase in intensity of a contact from an intensity below the hysteresis intensity threshold to an intensity above the press-input intensity threshold, a decrease in intensity of the contact below the press-input intensity threshold, and/or a decrease in intensity of the contact below the hysteresis intensity threshold corresponding to the press-input intensity threshold. Additionally, in examples where an operation is described as being performed in response to detecting a decrease in intensity of a contact below the press-input intensity threshold, the operation is, optionally, performed in response to detecting a decrease in intensity of the contact below a hysteresis intensity threshold corresponding to, and lower than, the press-input intensity threshold.

User Interfaces and Associated Processes

Selecting a Tactile Output Corresponding to a Change in Intensity of a Contact

Many electronic devices have graphical user interfaces including one or more user interface objects. When users attempt to perform operations associated with these user interface objects, these operations are sometimes successful and sometimes unsuccessful. For example, attempting to move a user interface object to a region of a user interface that does not accept user interface objects will be unsuccessful. In many user interfaces, there are one or more visual or audible cues as to whether or not the operation associated with the user interface object was successful. However, in some situations the user will miss a visual or audible cue as to whether or not an operation was successful (e.g., because the user was not looking at the display and/or has the volume of the device turned down or turned off, or because the user was distracted when the cue was provided). A missed cue can result in the user attempting to repeat an operation that was successfully performed or proceeding to perform other operations without realizing that the attempted operation was not performed. Thus, it would be advantageous to provide additional cues to the user to indicate whether or not an operation was successful. In a touch-sensitive surface with an integrated mechanical button, the sensation of reducing the intensity of a contact on touch-sensitive surface is determined based on the mechanism of the mechanical button and thus is the same (for the same user input) without regard to whether or not an operation associated with the contact was performed. In contrast, when the touch-sensitive surface is associated with sensors for determining the intensity of the contact with the touch-sensitive surface and a separate actuator generates a software controlled tactile output on the touch-sensitive surface, the tactile output generated after the user has attempted to perform an operation can be varied depending on whether or not the operation was successfully performed (e.g., because the tactile outputs are decoupled from the intensity inputs). Providing such tactile feedback as to whether or not an attempted operation has been performed improves the machine-user interface by providing the user with timely, accurate feedback regarding performance of the operation.

FIGS. 5A-5W illustrate exemplary user interfaces for selecting a tactile output corresponding to a change in intensity of a contact in accordance with some embodiments. The user interfaces in these are used to illustrate the processes described below, including the processes in FIGS. 6A-6B. FIGS. 5A-5W include intensity diagrams that show the current intensity of the contact on the touch-sensitive surface relative to a plurality of intensity thresholds including an object-selection intensity threshold (e.g., “IT_(L)”) and an object-release threshold (e.g., “IT₁”). In some embodiments, the object-selection intensity threshold is different from (e.g., higher than) the object-release intensity threshold. In some embodiments, the object-selection intensity threshold is IT_(D) and the object-release intensity threshold is IT_(D) or an intensity threshold slightly below IT_(D).

FIG. 5A illustrates user interface 11700 (e.g., a desktop user interface or a drawing input area within a drawing or graphics application) displayed on display 450 (e.g., display 340) of a device (e.g., device 300). One or more user interface objects 11702 are displayed in user interface 11700. In FIG. 5A, user interface objects 11702-1 through 11702-3 are displayed in user interface 11700. A user interface object 11702 is, optionally one of, an application shortcut or launch icon, a shape or object within a drawing or graphics program, or other icon, widget, or object. One or more windows 11704 are, optionally, displayed in user interface 11700 as well. A window 11704 is, optionally, an application window corresponding to a respective application.

Cursor 11706 is also displayed in user interface 11700 on display 450. In some embodiments, cursor 11706 is a mouse pointer. Cursor 11706 is an example of a focus selector. A user optionally positions cursor 11706 at any location in user interface 11700 by making a contact (for example, a finger contact or a stylus contact) on touch-sensitive surface 451 (e.g., touchpad 355) of the device and moving the contact on touch-sensitive surface 451 as desired. In response to the detection of the contact and movement of the contact on touch-sensitive surface 451, cursor 11706 is positioned at a position in user interface 11700 that corresponds to the current position of the contact on touch-sensitive surface 451 and moves in accordance with movement of the contact on touch-sensitive surface 451. In FIG. 5A, contact 11708 is detected at a position on touch-sensitive surface 451, and cursor 11706 is positioned at a corresponding position in user interface 11700, over user interface object 11702-2, as shown.

The device includes one or more sensors that detect the intensity of contacts with touch-sensitive surface 451. In FIG. 5A, the intensity of contact 11708 is detected to be below an object-selection threshold (e.g., “IT_(L)” in FIGS. 5A-5W). The intensity of contact 11708 below the object-selection threshold is represented by the empty background in contact 11708 as shown in FIG. 5A.

The intensity of contact 11708 is increased by, for example, the user applying more pressure on touch-sensitive surface 451 with contact 11708. The change in intensity of contact 11708 is detected by the contact intensity sensors in the device. In response to the detection of an increase in the intensity of contact 11708 above the object-selection threshold (with the intensity that is above the object-selection threshold represented by the densely dotted background in contact 11708 as shown in FIG. 5B), a user interface object over which cursor 11706 is positioned is selected. In FIG. 5B, cursor 11706 is positioned over user interface object 11702-2, and thus user interface object 11702-2 is selected. User interface object 11706-2 is, optionally, visually highlighted (for example, with a different color; with thicker borders, as shown in FIG. 5B) to indicate the selection. In some embodiments, a tactile output indicative of the selection of user interface object 11702-2 is generated on the touch-sensitive surface. The tactile output indicative of the selection is, optionally, generated in accordance with a movement profile associated with selection of a user interface object. In some embodiments, the selection tactile output corresponds to a tactile sensation that simulates a down-click of a mechanical button (for example, a click sensation of pressing a mouse button or a trackpad with an integrated button).

While the intensity of contact 11708 remains above an object-release threshold (e.g., “IT₁” in FIGS. 5A-5W) and user interface object 11702-2 remains selected, the user moves contact 11708 on touch-sensitive surface 451. In response to detection of the movement of contact 11708, user interface object 11702-2, as well as cursor 11706, is moved across user interface 11700 in accordance with the movement of contact 11708; user interface object 11702-2 is dragged across user interface 11700 in accordance with the movement of contact 11708. For example, as shown in FIGS. 5C-5D, in response to the movement of contact 11708 in direction 11710 on touch-sensitive surface 451, user interface object 11702-2 moves in direction 11712 to another position in user interface 11700. The new position of user interface object 11702-2, as shown in FIG. 5D, is over “empty space” in user interface 11700, away from window 11704 and other user interface objects 11702.

The object-release threshold is an intensity threshold that determines whether a selected user interface object is released from selection. In some embodiments, the object-release threshold is below the object-selection threshold. In some other embodiments, the object-release threshold is the same as the object-selection threshold.

While user interface object 11702-2 is located at the new position in user interface 11700, as shown in FIG. 5D, the user reduces the intensity of contact 11708, such as by reducing the pressure on touch-sensitive surface 451 with contact 11708 (including, for example, completely releasing contact 11708 from touch-sensitive surface 451). As shown in FIG. 5E, the intensity of contact 11708 is reduced below the object-release threshold, with the intensity below the object-release threshold represented by the sparsely dotted background in contact 11708 and the intensity meter shown in FIG. 5E. In response to the reduction in intensity of contact 11708 below the object-release threshold, an attempt to relocate (or “drop”) user interface object 11702-2 at the new position is made. The “empty space” in user interface 11700 is a valid drop location, as that empty space is not already occupied by a user interface object 11702 or a window 11704, and thus the relocation of user interface object 11702-2 to the new position is successful. As a result, user interface object 11702-2 is dropped at the new position in user interface 11700 and de-selected (i.e., released from selection). A tactile output is generated on touch-sensitive surface 451, along with the dropping of user interface object 502-2, in response to detection of the reduction in intensity of contact 11708 below the object-release threshold.

Returning to FIG. 5B, selected user interface object 11702-2 moves in response to detection of movement of contact 11708, as described above. FIGS. 5F-5G show user interface object 11702-2 moving in direction 11716 in user interface 11700 to a new position that is over window 11704, in response to detection of movement of contact 11708 in direction 11714 on touch-sensitive surface 451; user interface object 11702-2 is dragged across user interface 11700 in accordance with the movement of contact 11708.

While user interface object 11702-2 is located at the new position over window 11704, as shown in FIG. 5G, the user reduces the intensity of contact 11708, such as by reducing the pressure on touch-sensitive surface 451 with contact 11708 (including, for example, lifting contact 11708 off of touch-sensitive surface 451). As shown in FIG. 5H, the intensity of contact 11708 has been reduced below the object-release threshold. In response to the reduction in intensity of contact 11708 below the object-release threshold, an attempt to relocate user interface object 11702-2 at the new position is made (e.g., the position of user interface object 11702-2 in FIG. 5G). The position over window 11704 within user interface 11700 is an invalid drop location, as the position is already occupied by window 11704, and thus the relocation of user interface object 11702-2 at the new position is unsuccessful. As a result, user interface object 11702-2 is returned to its original location and de-selected. A tactile output that is different from the tactile output generated for the successful drop of user interface object 11702-2, described above with reference to FIG. 5E, is generated on touch-sensitive surface 451, along with the return of user interface object 11702-2 to its original position, in response to detection of the reduction in intensity of contact 11708 below the object-release threshold.

Thus, after selection of user interface object 11702-2, movement of contact 11708 and a decrease in the intensity of contact 11708 below the object-release threshold is performed by the user. In response to the detection of the decrease in intensity below the object-release threshold, an attempt to drop user interface object 11702-2 at a new position is made. Depending on whether the new position is a valid drop target/location or an invalid drop target/location, the drop is successful (i.e., the drop is performed) or unsuccessful (i.e., performance of the drop is not performed).

As described above, different tactile outputs are, optionally, generated for a successful drop of a user interface object (for example, as described above with reference to FIG. 5E) and for an unsuccessful drop of a user interface object (for example, as described above with reference to FIG. 5H). In some embodiments, the tactile output for the successful drop and the tactile output for the unsuccessful drop both correspond to tactile sensations that simulate of an up-click of a mechanical button (for example, releasing a clicked-and-held mouse button). In some embodiments, the tactile outputs for a successful drop and an unsuccessful drop have different amplitudes but are otherwise both generated in accordance with the same movement profile. For example, the tactile output for the successful drop has a higher amplitude than, but otherwise have the same movement profile (e.g., square waveform) as, the tactile output for the unsuccessful drop.

In some other embodiments, the tactile output for a successful drop and the tactile output for an unsuccessful drop have different movement profiles. For example, the tactile output for the successful drop is, optionally, generated in accordance with a sinusoidal movement profile, and the tactile output for the unsuccessful drop is, optionally, generated in accordance with a sawtooth waveform movement profile.

Returning to FIG. 5B, selected user interface object 11702-2 moves in response to detection of movement of contact 11708, as described above. FIGS. 5I-5K show user interface object 11702-2 moving, continuously, in direction 11722 and then direction 11724 in user interface 11700, in response to detection of continuous movement of contact 11708 in direction 11718 and then direction 11720, respectively, on touch-sensitive surface 451. User interface object 11702-2 moves to a position over window 11704 and then to “empty space” in user interface 11700; user interface object 11702-2 is dragged across user interface 11700 in accordance with the movement of contact 11708, over empty space and window 11704 at different times. Thus, during the movement, user interface object 11702-2 moves over an invalid drop location for a period of time and over a valid drop location for another period of time.

As user interface object 11702-2 is moving, while user interface object 11702-2 is over window 11704, as shown in FIG. 5J, a tactile output associated with an invalid drop location is, optionally, generated on touch-sensitive surface 451. The tactile output alerts the user that the current position of the user interface object 11702-2 is an invalid drop location.

As user interface object 11702-2 continues to move, while user interface object 11702-2 is over empty space in user interface 11700, as shown in FIG. 5K, a tactile output associated with a valid drop location is, optionally, generated on touch-sensitive surface 451. The tactile output alerts the user that the current position of the user interface object 11702-2 is a valid drop location. The tactile output associated with a valid drop location is different from the tactile output associated with an invalid drop location. For example, the valid drop location tactile output has a higher amplitude and/or different movement profile from the invalid drop location tactile output. In some embodiments, the tactile output associated with a valid drop target/location is generated according to the same movement profile and amplitude as a tactile output associated with a successful drop. Similarly, the tactile output associated with an invalid drop target/location is generated according to the same movement profile and amplitude as a tactile output associated with an unsuccessful drop. For example, the touch-sensitive surface optionally provides a high frequency periodic tactile output (e.g., a slight buzzing) while user interface object 11702-2 is over an invalid drop target and either does not provide any tactile output or provides a low frequency periodic tactile output (e.g., a periodic ping) while user interface object 11702-2 is over a valid drop target.

When the intensity of contact 11708 is reduced below the object-release threshold while user interface object 11702-2 is over empty space in user interface 11700, as shown in FIG. 5L, user interface object 11702-2 is dropped successfully at its new position.

It should be appreciated that the criteria for a valid drop target/location and an invalid drop target/location described above (whether a location is already occupied by a user interface object 11702 or window 11704) are merely exemplary, and other criteria are, optionally, employed in other embodiments, implementations, or for different categories of user interface objects or for different operations within an embodiment or implementation. For example, dropping an application shortcut or launch icon at a position over another application shortcut/launch icon or over an application window is invalid, while dropping a shape within a drawing program at a position over another shape is valid. As another example, dropping an application shortcut/launch icon at a position over another application shortcut/launch icon is valid if the operation includes swapping the locations of the application shortcuts/launch icons affected.

As described above, tactile outputs are, optionally, generated for a selection of a user interface object, a valid drop, an invalid drop, a valid drop location, and an invalid drop location. FIGS. 5M-5O illustrate example waveforms of movement profiles for generating these tactile outputs. FIG. 5M illustrates a sawtooth waveform. FIG. 5N illustrates a square waveform, and FIG. 5O illustrates a square waveform that has a lower amplitude than the square waveform of FIG. 5N. The sawtooth movement profile in FIG. 5M is, optionally, associated with selection of a user interface object; the tactile output generated for selection of a user interface object is, optionally, generated in accordance with the sawtooth movement profile. The high-amplitude square movement profile in FIG. 5N is, optionally, associated with a successful drop (or a valid drop target/location); the tactile output generated for a successful drop or valid drop target/location is, optionally, generated in accordance with a high-amplitude square movement profile. The low-amplitude square movement profile in FIG. 5O is, optionally, associated with an unsuccessful drop (or an invalid drop target/location); the tactile output generated for an unsuccessful drop or invalid drop target/location is, optionally, generated in accordance with a low-amplitude square movement profile.

FIGS. 5P-5W illustrate an example of the user interfaces described above, with reference to FIGS. 5A-5O, implemented on a device (e.g., device 100) with a touch-sensitive display 112. FIG. 5P illustrates user interface 11736 (e.g., a home menu or screen interface, a desktop user interface, a drawing input area within a drawing or graphics application) displayed on touch-sensitive display 112 of a device. One or more user interface objects 11732 are, optionally displayed in user interface 11736. In FIG. 5P, user interface objects 11732-1 through 11732-3 are displayed in user interface 11736. A user interface object 11732 is, for example, an application shortcut or launch icon, a shape or object within a drawing or graphics program, or other icon, widget, or object. One or more windows 11734 are, optionally, displayed in user interface 11736 as well. A window 11734 is, for example, an application window corresponding to a respective application. Contact 11738 is detected on touch-sensitive display at a location over user interface object 11732-2.

The device includes one or more sensors that detect the intensity of contacts with touch-sensitive display 112. In FIG. 5P, the intensity of contact 11738 is detected to be below an object-selection threshold. The intensity of contact 11738 below the object-selection threshold is represented by the empty background in contact 11738 as shown in FIG. 5P.

The intensity of contact 11738 is increased by, for example, the user applying more pressure on touch-sensitive display 112 with contact 11738. The change in intensity of contact 11738 is detected by the contact intensity sensors in the device. In response to the detection of an increase in the intensity of contact 11738 above the object-selection threshold (with the intensity that is above the object-selection threshold represented by the densely dotted background in contact 11738 and the intensity meter shown in FIG. 5Q), a user interface object over which contact 11738 is positioned is selected. In FIG. 5Q, contact 11738 is positioned over user interface object 11732-2, and thus user interface object 11732-2 is selected. User interface object 11736-2 is, optionally, visually highlighted (for example, with a different color; with thicker borders, as shown in FIG. 5Q) to indicate the selection. In some embodiments, a tactile output indicative of the selection of user interface object 11732-2 is generated on touch-sensitive display 112. The tactile output indicative of the selection is, optionally, generated in accordance with a movement profile associated with selection of a user interface object. In some embodiments, the selection tactile output corresponds to a tactile sensation that simulates a down-click of a mechanical button (for example, a click sensation of a pressing mouse button).

While the intensity of contact 11738 remains above an object-release threshold and user interface object 11732-2 remains selected, the user moves contact 11738 on touch-sensitive display 112. In response to detection of the movement of contact 11738, user interface object 11732-2 is moved across user interface 11736 in accordance with the movement of contact 11738; user interface object 11732-2 is dragged across user interface 11736 in accordance with the movement of contact 11738. For example, as shown in FIGS. 5R-5S, in response to movement of contact 11738 in direction 11740 on touch-sensitive display 112, user interface object 11732-2 moves in the same direction as contact 11738 to another position in user interface 11736. The new position of user interface object 11732-2, as shown in FIG. 5S, is over “empty space” in user interface 11736, away from window 11734 and other user interface objects 11732-1 and 11732-3.

While user interface object 11732-2 is located at the new position in user interface 11736, as shown in FIG. 5S, the user reduces the intensity of contact 11738, such as by reducing the pressure on touch-sensitive display 112 with contact 11738 (including, for example, lifting contact 11738 off of touch-sensitive display 112). As shown in FIG. 5T, the intensity of contact 11738 is reduced below the object-release threshold, with the intensity below the object-release threshold represented by the sparsely dotted background in contact 11738 and the intensity meter. In response to the reduction in intensity of contact 11738 below the object-release threshold, an attempt to relocate (or “drop”) user interface object 11732-2 at the new position is made. The “empty space” in user interface 11736 is a valid drop location, as that empty space is not already occupied by a user interface object 11732 or a window 11734, and thus the relocation of user interface object 11732-2 to the new position is successful. As a result, user interface object 11732-2 is dropped at the new position in user interface 11736 and de-selected (i.e., released from selection). A tactile output is generated on touch-sensitive display 112, along with the dropping of user interface object 532-2, in response to detection of the reduction in intensity of contact 11738 below the object-release threshold.

Returning to FIG. 5Q, selected user interface object 11732-2 moves in response to detection of movement of contact 11738, as described above. FIGS. 5U-5V show user interface object 11732-2 moving in direction 11742 in user interface 11736 to a new position that is over window 11734, in response to detection of movement of contact 11738 in direction 11742 on touch-sensitive display 112; user interface object 11732-2 is dragged across user interface 11736 in accordance with the movement of contact 11738.

While user interface object 11732-2 is located at the new position over window 11734, as shown in FIG. 5V, the user reduces the intensity of contact 11738, such as by reducing the pressure on touch-sensitive display 112 with contact 11738 (including, for example, completely releasing contact 11738 from touch-sensitive display 112). As shown in FIG. 5W, the intensity of contact 11738 has been reduced below the object-release threshold. In response to the reduction in intensity of contact 11738 below the object-release threshold, an attempt to relocate user interface object 11732-2 at the new position is made. The position over window 11734 within user interface 11736 is an invalid drop location, as the position is already occupied by window 11734, and thus the relocation of user interface object 11732-2 at the new position is unsuccessful. As a result, user interface object 11732-2 is returned to its original location and de-selected. A tactile output that is different from the tactile output generated for the successful drop of user interface object 11732-2, described above with reference to FIG. 5T, is generated on touch-sensitive display 112, along with the return of user interface object 11732-2 to its original position, in response to detection of the reduction in intensity of contact 11738 below the object-release threshold.

FIGS. 6A-6B are flow diagrams illustrating a method 11800 of selecting a tactile output corresponding to a change in intensity of a contact in accordance with some embodiments. The method 11800 is performed at an electronic device (e.g., device 300, FIG. 3, or portable multifunction device 100, FIG. 1A) with a display, a touch-sensitive surface, and one or more sensors to detect intensity of contacts with the touch-sensitive surface. In some embodiments, the display is a touch screen display and the touch-sensitive surface is on the display. In some embodiments, the display is separate from the touch-sensitive surface. Some operations in method 11800 are, optionally, combined and/or the order of some operations is, optionally, changed.

As described below, the method 11800 provides an intuitive way to relocate a user interface object. The method reduces the cognitive burden on a user when relocating user interface objects, thereby creating a more efficient human-machine interface. For battery-operated electronic devices, enabling a user to relocate a user interface object faster and more efficiently conserves power and increases the time between battery charges.

The device displays (11802) a user interface object on the display. FIG. 5A, for example, shows user interface objects 11702-1 through 11702-3 displayed on display 450. As another example, FIG. 5P shows user interface objects 11732-1 through 11732-3 displayed on touch-sensitive display 112.

The device detects (11804), on the touch-sensitive surface, a contact (e.g., a finger contact or a stylus contact) having an intensity above an object-selection threshold (e.g., “IT_(L)”). The device can, using the one or more sensors, detect an intensity of a contact on the touch-sensitive surface (e.g., touchpad 355). In FIG. 5B, for example, contact 11708 which has an intensity greater than an object-selection threshold, is detected. Similarly, in FIG. 5Q, contact 11738, which has an intensity greater than an object-selection threshold, is detected.

In some embodiments, prior to detecting movement of the contact across the touch-sensitive surface (11806), in response to detecting an increase in intensity of the contact above the object-selection threshold, the device generates (11808) a selection tactile output on the touch-sensitive surface indicative of the selection. The contact that is detected as having an intensity above the object-selection threshold has the intensity above the object-selection threshold as a result of an increase in intensity of the contact from below the object-selection threshold to above the object-selection threshold. When the increase in intensity above the object-selection threshold is detected prior to movement of the contact across the touch-sensitive surface, a user interface object is selected and a selection tactile output is generated in response.

For example, in FIG. 5A, contact 11708 on touch-sensitive surface 451 has an intensity below the object-selection threshold, and a focus selector (e.g., cursor 11706) is positioned over user interface object 11702-2 in accordance with the position of contact 11708 on touch-sensitive surface 451. When, prior to movement of contact 11708 across touch-sensitive surface 451, the intensity of contact 11708 is detected to have increased above the object-selection threshold, as shown in FIG. 5B, user interface object 11702-2 is selected and a tactile output associated with selection of a user interface object is generated on touch-sensitive surface 451. The tactile output indicates to the user that user interface object 502-2 has been selected. Similarly, a tactile output is generated in response to detection of the increase in the intensity of contact 11738 above the object-selection threshold.

The device detects (11810) movement of the contact across the touch-sensitive surface, the movement corresponding to a preliminary portion of a gesture for performing an operation corresponding to the user interface object. For example, the movement is part of an operation to relocate an icon representing a file stored on the device, which will be completed if the icon is moved to a valid drop target and dropped onto the valid drop target (e.g., in response to detecting a liftoff of the contact or a reduction in intensity/pressure of the contact on the touch sensitive surface below an object-release threshold, such as “IT₁” or “IT_(L)”). For example, in FIGS. 5C-5D, contact 11708 moves in direction 11710 on touch-sensitive surface 451, and the movement is detected by the device. In FIGS. 5F-5G, contact 11708 moves in direction 11714 on touch-sensitive surface 451, and the movement is detected by the device. In FIGS. 5I-5K, contact 11708 moves in direction 11718 and then 11720 on touch-sensitive surface 451. In response to the detection of the respective movement of contact 11708, user interface object 11702-2 is moved in user interface 11700 in accordance with the detected movement of contact 11708. The movement is part of a gesture to relocate user interface object 11702-2 in user interface 11700. As another example, in FIGS. 5Q-5R, movement of contact 11738 in direction 11740 is detected, and in FIGS. 5U-5V, movement of contact 11738 in direction 11742 is detected.

In some embodiments, for a first time period during the gesture, the user interface object is over an invalid drop target, and for a second time period during the gesture, the user interface object is over a valid drop target (11812). The device, during the first period of time, generates (11814) an invalid-drop-target tactile output on the touch-sensitive surface. The device, during the second period of time, generates (11816) a valid-drop-target tactile output on the touch-sensitive surface, where the invalid-drop-target tactile output is different from the valid-drop-target tactile output. In some situations, when a user interface object is moved, the user interface object is over a valid drop target or location for a time period and is over an invalid drop target or location for another time period (e.g., as illustrated in FIGS. 5I-5K). During the time period when the user interface object is over a valid drop target or location, a tactile output is generated on touch-sensitive surface 451. During the time period when the user interface object is over an invalid drop target or location, a different tactile output is generated on touch-sensitive surface 451.

For example, in FIGS. 5I-5K, user interface object 11702-2 is moved in accordance with the movement of contact 11708 on touch-sensitive surface 451. In FIG. 5J, user interface object 11702-2 moves over window 11704, an invalid drop target. In FIG. 5K, user interface object 11702-2 moves over empty space in user interface 11700, a valid drop target. During the period when user interface object 11702-2 is moving over window 11704, a tactile output is generated. During the period when user interface object 11702-2 is moving over empty space in user interface 11700, a tactile output different from that generated for the period when user interface object 11702-2 is moving over window 11704 is generated. The tactile outputs is different with respect to amplitude and/or movement profile. For example, the touch-sensitive surface optionally provides a high frequency periodic tactile output (e.g., a slight buzzing) while user interface object 11702-2 is over an invalid drop target and either does not provide any tactile output or provides a low frequency periodic tactile output (e.g., a periodic ping) while user interface object 11702-2 is over a valid drop target.

The device detects (11818) a reduction in intensity of the contact below an object-release threshold. When user interface object 11702-2 is moved to the target location for the drop, the user reduces the intensity of contact 11708 below the object-release threshold (e.g., reducing intensity of the contact while maintaining the contact or lifting the contact off of the touch-sensitive surface) to make the drop attempt, as shown in FIG. 5E, 5H, or 5L, for example. As another example, when user object 11732-2 is moved to the target location for the drop, the user reduces the intensity of contact 11738 below the object-release threshold (e.g., reducing intensity of the contact while maintaining the contact or lifting the contact off of the touch-sensitive surface) to make the drop attempt, as shown in FIG. 5T or 5W.

In response to detecting the reduction in intensity below the object-release threshold (11820), in accordance with a determination that the movement meets predefined operation-performance criteria (11822), the device performs (11824) the operation and generates (11826) a first tactile output on the touch-sensitive surface. In accordance with a determination that the movement does not meet the predefined operation-performance criteria (11828), the device forgoes (11830) performance of the operation and generates (11832) a second tactile output on the touch-sensitive surface, where the second tactile output is different from the first tactile output. For example, in response to the reduction in intensity of contact 11708 or 11738 below the object-release threshold (e.g., a reduction in intensity of the contact while maintaining the contact or lifting the contact off of the touch-sensitive surface), an attempt to drop user interface object 11702-2 or 11732-2, respectively is made. Whether the drop is performed (e.g., if the drop is successful or not) depends on whether one or more predefined operation-performance criteria are satisfied. In some embodiments, for a drop operation, a criterion for operation performance is whether the drop target/location is valid. If user interface object 11702-2 or 11732-2 is over a valid drop target (and thus a determination is made that the predefined operation-performance criteria for a drop are satisfied), such as empty space in user interface 11700 or 11736, the drop is performed, as shown in FIG. 5E, 5L, or 5T, respectively, and a tactile output associated with a successful drop is generated on touch-sensitive surface 451 or touch-sensitive display 112. If user interface object 11702-2 or 11732-2 is over an invalid drop target (and thus a determination is made that the predefined operation-performance criteria for a drop are not satisfied), such as window 11704 or 11734, the drop is not performed, as shown in FIG. 5H or 5W, respectively, and a tactile output associated with an unsuccessful drop is generated on touch-sensitive surface 451 or touch-sensitive display 112.

In some embodiments, the operation is an object drop operation (e.g., a file move operation such as dragging an icon representing a file to a new location in a file manager user interface), the movement corresponds to movement of the user interface object to a respective location in the user interface, the movement meets the predefined operation-performance criteria when the respective location is a valid drop location, and the movement does not meet the predefined operation-performance criteria when the respective location is an invalid drop location (11834). As described above, the movement of contact 11708 is, optionally, part of a gesture for performing a drag and drop operation in user interface object 11702-2 that corresponds to movement of user interface object 11702-2 to a new location in user interface 11700. When user interface object 11702-2 is moved to a valid drop target/location, the movement in the gesture is considered to satisfy the criteria for performing a drop operation, and the drop is performed, as shown in FIG. 5E or 5L, for example. On the other hand, when user interface object 11702-2 is moved to an invalid drop target/location, the movement in the gesture is considered to not satisfy the criteria for performing a drop operation, and the drop is not performed, as shown in FIG. 5H, for example. Similarly, movement of contact 11738 is, optionally, part of a gesture for performing a drag and drop operation in user interface object 11732-2 that corresponds to movement of user interface object 11732-2 to a new location in user interface 11736. When user interface object 11732-2 is moved to a valid drop target/location, the movement in the gesture is considered to satisfy the criteria for performing a drop operation; the drop is performed, as shown in FIG. 5T, for example. On the other hand, when user interface object 11732-2 is moved to an invalid drop target/location, the movement in the gesture is considered to not satisfy the criteria for performing a drop operation; the drop is not performed, as shown in FIG. 5W, for example.

In some embodiments, the first tactile output is generated by movement of the touch-sensitive surface that includes a first dominant movement component (e.g., movement corresponding to the initial impulse, ignoring any unintended resonance), the second tactile output is generated by movement of the touch-sensitive surface that includes a second dominant movement component, and the first dominant movement component and the second dominant movement component have a same movement profile (e.g., same waveform shape such as square, sine, squine, sawtooth or triangle; and/or approximately the same width/period) and different amplitudes (11836). The tactile output for a successful drop and the tactile output for an unsuccessful drop both have respective dominant movement components that have respective movement profiles (for example, the movement profiles depicted in FIGS. 5N and 5O, respectively). The two tactile outputs optionally have the same movement profile but different amplitudes, as shown in FIGS. 5N and 5O, for example. Thus, in some embodiments, the tactile outputs for a successful drop and an unsuccessful drop optionally differ in amplitude rather than in the movement profile; one sensation is a more intense version of the other sensation.

In some embodiments, the selection tactile output corresponds to a tactile sensation that simulates a down-click of a mechanical button, the first tactile output corresponds to a first tactile sensation that simulates an up-click of the mechanical button, and the second tactile output corresponds to a second tactile sensation that simulates an up-click of the mechanical button, where the second tactile sensation feels different (e.g., to a user of the device) from the first tactile sensation (11838). The selection tactile output corresponds to a simulation of, for example, a click-and-hold of a mouse button on mouse 350 or trackpad of device 300. The first tactile output corresponds to a tactile sensation that simulates a release of the mouse button (or trackpad button). The second tactile output corresponds to a tactile sensation that simulates the release of the mouse button (or trackpad button) in a way that is different from the first tactile output. The first and second tactile sensations optionally simulate the mouse button release differently by using, for example, different amplitudes and/or different movement profiles.

It should be understood that the particular order in which the operations in FIGS. 6A-6B have been described is merely exemplary and is not intended to indicate that the described order is the only order in which the operations could be performed. One of ordinary skill in the art would recognize various ways to reorder the operations described herein. Additionally, it should be noted that details of other processes described herein with respect to other methods described herein (e.g., those listed in the fifth paragraph of the Description of Embodiments) are also applicable in an analogous manner to method 11800 described above with respect to FIGS. 6A-6B. For example, the contacts, user interface objects, tactile outputs, intensity thresholds, and focus selectors described above with reference to method 11800 optionally have one or more of the characteristics of the contacts, gestures, user interface objects, tactile outputs, intensity thresholds, and focus selectors described herein with reference to other methods described herein (e.g., those listed in the fifth paragraph of the Description of Embodiments). For brevity, these details are not repeated here.

In accordance with some embodiments, FIG. 7 shows a functional block diagram of an electronic device 11900 configured in accordance with the principles of the various described embodiments. The functional blocks of the device are, optionally, implemented by hardware, software, or a combination of hardware and software to carry out the principles of the various described embodiments. It is understood by persons of skill in the art that the functional blocks described in FIG. 7 are, optionally, combined or separated into sub-blocks to implement the principles of the various described embodiments. Therefore, the description herein optionally supports any possible combination or separation or further definition of the functional blocks described herein. As shown in FIG. 7, an electronic device 11900 includes a display unit 11902 configured to display a user interface object, a touch-sensitive surface unit 11904 configured to receive contacts, one or more sensor units 11905 configured to detect intensity of contacts with the touch-sensitive surface unit 11904, and a processing unit 11906 coupled to the display unit 11902, the touch-sensitive surface unit 11904, and the sensor units 11905. In some embodiments, the processing unit 11906 includes a detecting unit 11908, a performing unit 11910, and a generating unit 11912.

The processing unit 11906 configured to: detect, on the touch-sensitive surface unit 11904, a contact having an intensity above an object-selection threshold (e.g., with the detecting unit 11908); detect movement of the contact across the touch-sensitive surface unit 11904, the movement corresponding to a preliminary portion of a gesture for performing an operation corresponding to the user interface object (e.g., with the detecting unit 11908); detect a reduction in intensity of the contact below an object-release threshold (e.g., with the detecting unit 11908); and in response to detecting the reduction in intensity below the object-release threshold: in accordance with a determination that the movement meets predefined operation-performance criteria: perform the operation (e.g., with the performing unit 11910); and generate a first tactile output on the touch-sensitive surface unit 11904 (e.g., with the generating unit 11912); and in accordance with a determination that the movement does not meet the predefined operation-performance criteria: forgo performance of the operation (e.g., with the performing unit 11910); and generate a second tactile output on the touch-sensitive surface unit 11904, wherein the second tactile output is different from the first tactile output (e.g., with the generating unit 11912).

In some embodiments, the operation is an object drop operation, the movement corresponds to movement of the user interface object to a respective location in the user interface, the movement meets the predefined operation-performance criteria when the respective location is a valid drop location, and the movement does not meet the predefined operation-performance criteria when the respective location is an invalid drop location.

In some embodiments, the processing unit 11906 is configured to, prior to detecting movement of the contact across the touch-sensitive surface unit 11904: in response to detecting an increase in intensity of the contact above the object-selection threshold, generate a selection tactile output on the touch-sensitive surface unit 11904 indicative of the selection (e.g., with the generating unit 11912).

In some embodiments, the selection tactile output corresponds to a tactile sensation that simulates a down-click of a mechanical button, the first tactile output corresponds to a first tactile sensation that simulates an up-click of the mechanical button, and the second tactile output corresponds to a second tactile sensation that simulates an up-click of the mechanical button, where the second tactile sensation feels different from the first tactile sensation.

In some embodiments, the first tactile output is generated by movement of the touch-sensitive surface unit 11904 that includes a first dominant movement component, the second tactile output is generated by movement of the touch-sensitive surface unit 11904 that includes a second dominant movement component, and the first dominant movement component and the second dominant movement component have a same movement profile and different amplitudes.

In some embodiments, for a first time period during the gesture, the user interface object is over an invalid drop target, for a second time period during the gesture, the user interface object is over a valid drop target, and the processing unit 11906 is configured to: during the first period of time generate an invalid-drop-target tactile output on the touch-sensitive surface unit 11904 (e.g., with the generating unit 11912), and during the second period of time generate a valid-drop-target tactile output on the touch-sensitive surface unit 11904, where the invalid-drop-target tactile output is different from the valid-drop-target tactile output (e.g., with the generating unit 11912).

The operations in the information processing methods described above are, optionally implemented by running one or more functional modules in information processing apparatus such as general purpose processors (e.g., as described above with respect to FIGS. 1A and 3) or application specific chips.

The operations described above with reference to FIGS. 6A-6B are, optionally, implemented by components depicted in FIGS. 1A-1B or FIG. 7. For example, detection operations 11804, 11810, and 11818, performing operation 11824, forgoing operation 11830, and generating operations 11826 and 11832 are, optionally, implemented by event sorter 170, event recognizer 180, and event handler 190. Event monitor 171 in event sorter 170 detects a contact on touch-sensitive display 112, and event dispatcher module 174 delivers the event information to application 136-1. A respective event recognizer 180 of application 136-1 compares the event information to respective event definitions 186, and determines whether a first contact at a first location on the touch-sensitive surface corresponds to a predefined event or sub-event, such as selection of an object on a user interface. When a respective predefined event or sub-event is detected, event recognizer 180 activates an event handler 190 associated with the detection of the event or sub-event. Event handler 190 optionally utilizes or calls data updater 176 or object updater 177 to update the application internal state 192. In some embodiments, event handler 190 accesses a respective GUI updater 178 to update what is displayed by the application. Similarly, it would be clear to a person having ordinary skill in the art how other processes can be implemented based on the components depicted in FIGS. 1A-1B, 3.

Performing Operations Based on Modified Inputs

Many electronic devices include a mouse or similar input device that provides left-click functionality and right-click functionality for activating different operations. As devices economize on the number of buttons and input devices, the left-click functionality and right-click functionality is, optionally, invoked using one input device, such as a trackpad. In existing methods, when either functionality is invoked using the one input device, the user is not given sufficient feedback indicating whether the activated operation was an operation not associated with a modifier input (e.g., a left-click operation) or an operation associated with a modifier input (e.g., a right-click operation). The embodiments below improve on the existing methods by providing different tactile output when device detects an input while a modifier input is detected than when the device detects a similar input while a modifier input is not detected. Thus, the device provides the user with tactile feedback indicating whether or not the modifier input was detected instead of or in addition to any visual or audible feedback indicating that the modifier input was detected. This additional (or alternative) feedback enables the user to operate the device more quickly and efficiently, thereby creating a more efficient human-machine interface.

FIGS. 8A-8V illustrate exemplary user interfaces for providing feedback corresponding to modifier inputs in accordance with some embodiments. The user interfaces in these figures are used to illustrate the processes described below, including the processes in FIGS. 9A-9B. FIGS. 8A-8V include intensity diagrams that show the current intensity of the contact on the touch-sensitive surface relative to a plurality of intensity thresholds including a first activation threshold (e.g., “IT_(L)”) and a second activation threshold (e.g., “IT₁” or “IT_(L)”). In some embodiments, operations similar to those described below with reference to “IT_(L)” are performed with reference to a different intensity threshold (e.g., “IT_(D)”).

FIG. 8A illustrates user interface 12000 (e.g., a desktop user interface) displayed on display 450 (e.g., display 340) of a device (e.g., device 300). One or more user interface objects 12002 are, optionally, displayed on user interface 12000. In FIG. 8A, user interface objects 12002-1 through 12002-3 are displayed on user interface 12000. A user interface object 12002 is, optionally, for example, an application shortcut or launch icon.

Cursor 12004 is also displayed on user interface 12000. In some embodiments, cursor 12004 is a mouse pointer. Cursor 12004 is an example of a focus selector. In FIG. 8A, cursor 12004 is displayed over user interface object 12002-2.

The device includes one or more sensors that detect the intensity of contacts with touch-sensitive surface 451 (e.g., touchpad 355) of the device. In FIG. 8A, the intensity of contact 12006 is detected to be below a first activation threshold (e.g., “IT_(L)”).

The intensity of a contact (e.g., contact 12006) on touch-sensitive surface 451 is, optionally, increased or decreased by, for example, the user increasing or decreasing, respectively, the pressure on touch-sensitive surface 451 with the contact. The change in intensity of the contact is, optionally, detected by the sensors in the device.

In FIG. 8B, the device detects an increase in intensity of contact 12006 above the first activation threshold. In some situations, after detecting the increase in intensity of contact 12006, a decrease in the intensity of contact 12006 (e.g., a liftoff of contact 12006 from touch-sensitive surface 451) below a second activation threshold (e.g., “IT₁”) is be detected by the intensity sensors in the device. In some embodiments, the first activation threshold and the second activation threshold are different and the second activation threshold is lower than the first activation threshold (e.g., the first activation threshold is “IT_(L)” and the second activation threshold is “IT₁” or, alternatively, “IT₀”). In some other embodiments, the first activation threshold and the second activation threshold are the same (e.g., the first activation threshold is “IT_(L)” and the second activation threshold is also “IT_(L)”).

In response to the detection of the decrease in intensity of contact 12006 below the second activation threshold (e.g., “IT₁”), after detection of the increase in the intensity of contact 12006 above the first activation threshold (e.g., “IT_(L)”), one or more operations associated with user interface object 12002-2, over which cursor 12004 is positioned, are, optionally, performed. In some embodiments, the operation(s) include displaying a new application window associated with user interface object 12002-2. For example, if user interface object 12002-2 is an icon (e.g., an application launch or shortcut icon) corresponding to an application, window 12008 for the corresponding application is, optionally, displayed on user interface 12000, as shown in FIG. 8C.

In some embodiments, user interface object 12002-2 is visually highlighted in response to the detection of the increase then decrease in intensity, or in response to the detection of the increase in intensity. Examples of visual highlighting include a different color or thicker borders (as shown in FIG. 8C).

Additionally, in response to detection of the decrease in the intensity of contact 12006 below the second activation threshold, after detection of the increase in the intensity of contact 12006 above the first activation threshold, a tactile output is generated on touch-sensitive surface 451. The tactile output is, optionally, generated in accordance with a movement profile (e.g., movement profiles illustrated in FIGS. 8P-8Q) and/or an amplitude.

Returning to FIG. 8A, the intensity of contact 12006 is, optionally, increased above the first activation threshold concurrently with the detection of a modifier input. An example of a modifier input is a key press of a key (e.g., on a keyboard) assigned to be a modifier key. A key on keyboard 12011 (e.g., keyboard 350) is, optionally, pre-assigned to be a modifier key (e.g., as a default) or assigned by a user. FIG. 8D shows key press 12012 on key 12010 of keyboard 12011 concurrent with detection of an increase in the intensity of contact 12006 above the first activation threshold. After concurrent detection of the increase in the intensity of contact 12006 above the first activation threshold (e.g., “IT_(L)”) and of key press 12012 on key 12010, the intensity of contact 12006 is decreased below a second activation threshold (e.g., “IT₁”), as shown in FIG. 8E (at which point continued pressing of key 12010 is optional). In response to detecting the decrease in the intensity of contact 12006 below the second activation threshold, after concurrent detection of the increase in the intensity of contact 12006 above the first activation threshold and key press 12012 of key 12010, an operation different from that performed when no modifier input is detected is performed. For example, FIG. 8E shows context menu 12014 displayed on user interface 12000 near cursor 12004 in response to the detection of the decrease in the intensity of contact 12006 below the second activation threshold, after concurrent detection of the increase in the intensity of contact 12006 above the first activation threshold and press 12012 of key 12010. The operation of displaying context menu 12014 is different from the operation of displaying application window 12008 (FIG. 8C) that was performed in response to detection of the decrease in the intensity of contact 12006 below the second activation threshold, after detection of the increase in the intensity of contact 12006 above the first activation threshold without concurrent detection of a press of key 12010. Context menu 12014 includes menu options associated with user interface object 12002-2, over which cursor 12004 is positioned, such as “rename,” “properties,” and so on. The menu options include options for performing operations on or with respect to user interface object 12002-2.

Another example of a modifier input is an additional contact that is detected on touch-sensitive surface 451 concurrently with contact 12006. FIG. 8F shows contact 12016 detected on touch-sensitive surface 451 concurrently with the detection of an increase in the intensity of contact 12006 above the first activation threshold (e.g., “IT_(L)”) and a subsequent decrease in the intensity of contact 12006 below the second activation threshold (e.g., “IT₁”), as shown in FIG. 8G. In response to detection of the decrease in the intensity of contact 12006 below the second activation threshold, after concurrent detection of the increase in the intensity of contact 12006 above the first activation threshold and contact 12016, context menu 12014 is displayed on user interface 12000, as shown in FIG. 8G.

A further example of a modifier input is detection of the contact 12006 at a specific area on touch-sensitive surface 451, as opposed to an arbitrary location on touch-sensitive surface 451 outside of the specific area on the touch-sensitive surface. FIG. 8H shows contact 12006 detected in area 12018 on touch-sensitive surface 451, at an intensity below the first activation threshold. An increase in the intensity of contact 12006 in area 12018 above the first activation threshold (e.g., “IT_(L)”) is detected, as shown in FIG. 8I. Then, a decrease in the intensity of contact 12006 in area 12018 below the second activation threshold (e.g., “IT_(L)”) is detected, as shown in FIG. 8J. In response to detection of the decrease in the intensity of contact 12006 in area 12018 below the second activation threshold, after detection of the increase in the intensity of contact 12006 in area 12018 above the first activation threshold, context menu 12014 is displayed on user interface 12000, as shown in FIG. 8J. Here, intensity of contact 12006 in a defined area (e.g., area 12018) on touch-sensitive surface 451 modified the input of contact 12006.

In some embodiments, the defined area (e.g., area 12018) on touch-sensitive surface 451 for modifying the input is predefined, or it is, optionally, defined by the user (e.g., from a predefined set of choices). Further, it should be appreciated that the size and location of area 12018 as shown in FIGS. 8H-8J are merely an illustrative example, and other sizes and/or locations for area 12018 are possible.

Additionally, in response to detection of the decrease in the intensity of contact 12006 below the second activation threshold (e.g., “IT₁”), after concurrent detection of the increase in the intensity of contact 12006 above the first activation threshold (e.g., “IT_(L)”) and a modifier input (e.g., press 12012 of modifier key 12010, contact 12016, detecting contact 12006 in area 12018 on touch-sensitive surface 451), a tactile output (e.g., a “modifier-active tactile output”) is generated on touch-sensitive surface 451. This tactile output (e.g., a “modifier-active tactile output”) corresponds to a different tactile sensation from the tactile sensation corresponding to a tactile output (e.g., a “no-modifier tactile output”) generated in response to detection of the decrease in intensity of contact 12006 below the second activation threshold without detection of a modifier input when the increase in intensity of contact 12006 above the first activation threshold is detected, as illustrated in FIGS. 8A-8C.

Thus, when an increase in the intensity of contact 12006 above the first activation threshold and a subsequent decrease in the intensity of contact 12006 below the second activation threshold are detected, the operation that is performed depends on whether a modifier input is detected while the increase in intensity above the first activation threshold is detected. In some embodiments, the operation(s) performed in response to detection of the intensity decrease, after detection of the intensity increase without a modifier input, correspond to operations associated with a left-click of a mouse (or similar input device), and the operation(s) performed in response to detection of the intensity decrease, after detection of the intensity increase with a modifier input, correspond to operations associated with a right-click of a mouse (or similar input device). Left-click operations include, for example, activating an application launch or shortcut icon, displaying an application window corresponding to an application associated with an icon, selecting an icon or other user interface object, and so on. Right-click operations include, for example, displaying a context menu (e.g., context menu 12014 or 12024).

In some other embodiments, the association is, optionally, reversed; the operation(s) performed in response to detection of the intensity decrease, after detection of the intensity increase without a modifier input, correspond to operations associated with a right-click of a mouse (or similar input device), and the operation(s) performed in response to detection of the intensity decrease, after detection of the intensity increase with a modifier input, correspond to operations associated with a left-click of a mouse (or similar input device).

Further, the tactile output that is generated in response to the detection of the decrease in the intensity of contact 12006, after detection of the increase in the intensity of contact 12006, depends on the detection of, or lack of, a modifier input along with the detection of the intensity increase. In some embodiments, the tactile output generated when a modifier input is detected (e.g., a “modifier-active tactile output”) is different from the tactile output generated when no modifier input is detected (e.g., a “no-modifier tactile output”) in amplitude, movement profile, or both.

In some embodiments, the operation that is performed, if any, in response to detection of the decrease in intensity of a contact after detection of the increase in intensity of the contact depends on the position of the focus selector (e.g., cursor 12004) when the increase in intensity is detected, as well as whether a modifier input was detected. In the examples described above with reference to FIGS. 8A-8J, cursor 12004 is positioned over user interface object 12002-2. FIG. 8K shows cursor 12004 positioned over “empty space” on user interface 12000, away from user interface objects 12002. Contact 12020 is detected on touch-sensitive surface 451 at an intensity less than the first activation threshold (e.g., “IT_(L)”). In FIG. 8L, the device detects an increase in intensity of contact 12020 above the first activation threshold (e.g., “IT_(L)”). Then, the device detects a decrease in intensity of contact 12020 below the second activation threshold (e.g., “IT₁”), as shown in FIG. 8M. In response to the decrease of the intensity below the second activation threshold, no operation is performed. In some embodiments, left-clicks that occur when the focus selector is over empty space are ignored, and thus contact 12020 that increases and decreases in intensity with no modifier input while cursor 12004 is over empty space does not cause the device to perform an operation.

On the other hand, FIG. 8N shows a modifier input (e.g., contact 12022) detected concurrently with detection of an increase of the intensity of contact 12020 above the first activation threshold. Subsequently, the device detects a decrease in intensity of contact 12020 below the second activation threshold (e.g., “IT₁”), as shown in FIG. 8O. In response to the decrease of the intensity below the second activation threshold, context menu 12024 is displayed on user interface 12000. Context menu 12024 optionally includes different options than context menu 12014 (FIG. 8E, 8G, or 8J), as the context is changed by the positioning of cursor 12004 over empty space on user interface 12000 instead of user interface object 12002-2. In some embodiments, right-clicks that occur when the focus selector is over empty space activate displaying of a context menu, and thus contact 12020 that increases and decreases in intensity with a modifier input while cursor 12004 is over empty space cause the device to display a context menu (e.g., context menu 12024).

As described above, different tactile outputs are, optionally, generated depending on whether a modifier input was detected. FIGS. 8P-8Q illustrate example waveforms of movement profiles for generating these tactile outputs. FIG. 8P illustrates dominant movement components of two different tactile outputs with two different movement profiles (e.g., a sawtooth waveform on the left and a square waveform on the right). In some embodiments, one of the movement profiles (e.g., the sawtooth waveform) corresponds to a tactile output (e.g., a “modifier-active tactile output”) for an increase and subsequent decrease in intensity detected while a modifier input is detected; and the other movement profile (e.g., the square waveform) corresponds to a tactile output (e.g., a “no-modifier tactile output”) for an increase and subsequent decrease in intensity detected without detecting a modifier input. FIG. 8Q illustrates dominant movement components of two different tactile outputs with two different amplitudes (e.g., a high amplitude square waveform on the left and a low amplitude square waveform on the right). In some embodiments, one of the amplitudes (e.g., the high amplitude square waveform) corresponds to a tactile output (e.g., a “modifier-active tactile output”) for an increase and subsequent decrease in intensity detected while a modifier input is detected; and the other amplitude (e.g., the low amplitude square waveform) corresponds to a tactile output (e.g., a “no-modifier tactile output”) for an increase and subsequent decrease in intensity detected without detecting a modifier input. In some embodiments both the amplitude and the movement profile of the tactile output are selected in accordance with a determination as to on whether or not the modifier input was detected when the device detected the increase prior to detecting the subsequent decrease in intensity of the contact.

FIGS. 8R-8V illustrate an example of the user interfaces described above, with reference to FIGS. 8A-8Q, implemented on a device (e.g., device 100) with a touch-sensitive display 112. FIG. 8R shows user interface 12054 and user interface objects 12052 displayed in user interface 12054, on touch-sensitive display 112 of a device. User interface objects 12052 are similar to user interface objects 12002 described above; the details are not repeated here.

FIG. 8R also shows contact 12056 detected on user interface object 12052-2. Contact 12056 as shown in FIG. 8R has an intensity that is below the first activation threshold (e.g., “IT_(L)”). An increase of the intensity of contact 12056 above the first activation threshold is detected, as shown in FIG. 8S. After the detection of the increase, a decrease in the intensity of contact 12056 below the second activation threshold (e.g., “IT₁”) is detected, as shown in FIG. 8T.

In response to the detection of the decrease in intensity of contact 12056 below the second activation threshold, after detection of the increase in the intensity of contact 12056 above the first activation threshold, one or more operations associated with user interface object 12052-2, over which contact 12056 is detected, are, optionally, performed. For example, if user interface object 12052-2 is an icon (e.g., an application launch or shortcut icon) corresponding to an application, window 12058 for the corresponding application is displayed in user interface 12054, as shown in FIG. 8T.

Additionally, in response to detection of the decrease in the intensity of contact 12056 below the second activation threshold, after detection of the increase in the intensity of contact 12056 above the first activation threshold, a tactile output (e.g., a “no-modifier tactile output”) is generated on touch-sensitive display 112. The tactile output is, optionally, generated in accordance with a movement profile (e.g., movement profiles illustrated in FIGS. 8P-8Q).

Returning to FIG. 8R, the intensity of contact 12056 is, optionally, increased above the first activation threshold concurrently with the detection of a modifier input. An example of a modifier input is an additional contact that is detected on touch-sensitive display 112 concurrently with contact 12056. FIG. 8U shows contact 12060 detected on touch-sensitive display 112 concurrently with the detection of an increase in the intensity of contact 12056 above the first activation threshold (e.g., “IT_(L)”). Then, a decrease in the intensity of contact 12056 below the second activation threshold (e.g., “IT₁”) is detected, as shown in FIG. 8V. In response to detection of the decrease in the intensity of contact 12056 below the second activation threshold, after concurrent detection of the increase in the intensity of contact 12056 above the first activation threshold and contact 12060, context menu 12062, which is similar to context menu 12014) is displayed in user interface 12054, as shown in FIG. 8V. In some embodiments, additional contact 12060 is determined to be a modifier input when contact 12060 is detected in a predefined region (e.g., a region in the top right, top left, bottom right, or bottom left corner) of touch-sensitive display 112.

Additionally, in response to detecting the decrease in the intensity of contact 12056 below the second activation threshold, after concurrent detection of the increase in the intensity of contact 12056 above the first activation threshold and a modifier input (e.g., contact 12060), the device generates a tactile output (e.g., a “modifier-active tactile output”) on touch-sensitive display 112. In some embodiments, this tactile output (e.g., a “modifier-active tactile output”) corresponds to a different tactile sensation from the tactile sensation corresponding to a tactile output (e.g., a “no-modifier tactile output”) generated in response to detection of the decrease in intensity of contact 12056 below the second activation threshold without detection of a modifier input when the increase in intensity of contact 12056 above the first activation threshold is detected.

FIGS. 9A-9B are flow diagrams illustrating a method 12100 of providing feedback corresponding to modifier inputs in accordance with some embodiments. The method 12100 is performed at an electronic device (e.g., device 300, FIG. 3, or portable multifunction device 100, FIG. 1A) with a display and a touch-sensitive surface. In some embodiments, the display is a touch screen display and the touch-sensitive surface is on the display. In some embodiments, the display is separate from the touch-sensitive surface. Some operations in method 12100 are, optionally, combined and/or the order of some operations is, optionally, changed.

As described below, the method 12100 provides an intuitive way to perform operations based on modified inputs. The method reduces the cognitive burden on a user when providing feedback corresponding to modifier inputs, thereby creating a more efficient human-machine interface. For battery-operated electronic devices, enabling a user to perform operations based on modified inputs faster and more efficiently conserves power and increases the time between battery charges.

The device detects (12102) a contact (e.g., a finger contact) on the touch-sensitive surface. For example, contact 12006 (FIG. 8A or 8H) or 12020 (FIG. 8K) is, optionally, detected on touch-sensitive surface 451. As another example, contact 12056 is, optionally, detected on touch-sensitive display 112.

The device detects (12104) an increase in intensity of the contact above a first activation threshold (e.g., “IT_(L)”). In some embodiments, the first activation threshold is an “increasing-intensity” activation threshold that indicates a threshold at which a tactile output is generated when the intensity of the contact is increasing. The intensity of contact 12006, for example, is, optionally, increased from a level below the first activation threshold (e.g., FIGS. 8A and 8H) to a level above the first activation threshold (e.g., FIG. 8B, 8D, 8F, or 8I), and the increase is detected. Similarly, the intensity of contact 12020 is, optionally, increased from a level below the first activation threshold to a level above the first activation threshold (FIGS. 8K-8L, 8N). As another example, the intensity of contact 12056 is, optionally, increased from a level below the first activation threshold to a level above the first activation threshold (FIGS. 8R-8S, 8U).

After detecting the increase in intensity of the contact above the first activation threshold, the device detects (12106) a reduction in intensity of the contact below a second activation threshold (e.g., “IT₁”). In some embodiments, the second activation threshold is a “decreasing-intensity” activation threshold that indicates a threshold at which a tactile output is generated when the intensity of the contact is decreasing. The intensity of contact 12006, for example, is, optionally, decreased to a level below the second activation threshold (e.g., FIG. 8C, 8E, 8G, or 8J), and the increase is detected. Similarly, the intensity of contact 12020 is, optionally, decreased to a level below the second activation threshold (FIGS. 8M, and 8O). As another example, the intensity of contact 12056 is, optionally, decreased to a level below the second activation threshold (FIGS. 8T, and 8V).

In some embodiments, the second activation threshold is (12108) different from the first activation threshold (e.g., the first activation threshold is “IT_(L)” and the second activation threshold is “IT₁”). In some embodiments, the second activation threshold is (12110) the same as the first activation threshold (e.g., the first activation threshold is “IT_(L)” and the second activation threshold is also “IT_(L)”).

In response to detecting the reduction in intensity of the contact below the second activation threshold (12112), in accordance with a determination that a modifier input was detected while detecting the increase in intensity of the contact above the first activation threshold (12114), the device performs a first operation (12116) and generates (12118) a first tactile output on the touch-sensitive surface. For example, in FIG. 8D, modifier key 12010 is pressed when the increase in intensity of contact 12006 is detected. When the decrease in the intensity of contact 12006 is detected (FIG. 8E), context menu 12014 is displayed and a first tactile output (e.g., a “modifier-active tactile output”) is generated in response. Similar results occur with other examples of modifier inputs (for example, contact 12016, FIG. 8G; contact 12006 in area 12018, FIG. 8J; contact 12022, FIG. 8O). As another example, in FIG. 8U, additional contact 12060 is detected when the increase in intensity of contact 12056 is detected. When the decrease in the intensity of contact 12056 is detected (FIG. 8V), context menu 12062 is displayed and a first tactile output (e.g., a “modifier-active tactile output”) is generated in response. In some embodiments, the combination of the intensity increase-decrease and the modifier input is associated with a right-click of a mouse or similar input device; the combination activates operations associated with the right-click.

In some embodiments, the modifier input is (12120) an input selected from the set consisting of: a key press of a modifier key, an additional contact on the touch-sensitive surface, and detecting the contact on a predefined portion of the touch-sensitive surface designated to modify inputs (e.g., a predefined “right click” region on a touchpad or a predefined region of a touch-sensitive mouse that corresponds to a “right mouse button”). The modifier input is, optionally, for example, press 12012 of modifier key 12010 (FIG. 8D), additional contact 12016 (FIG. 8F) or 12022 (FIG. 8N) or 12060 (FIG. 8U), or intensity of contact 12006 in area 12018 on touch-sensitive surface 451.

In response to detecting (12112) the reduction in intensity of the contact below the second activation threshold (e.g., “IT₁”), in accordance with a determination that the modifier input was not detected (12122) while detecting the increase in intensity of the contact above the first activation threshold (e.g., “IT_(L)”), the device performs (12124) second operation different from the first operation and generates (12126) a second tactile output (e.g., a “no-modifier tactile output”) on the touch-sensitive surface, where the second tactile output is different from the first tactile output. For example, in FIG. 8B, there is no modifier input when the increase in intensity of contact 12006 is detected, and thus when the decrease in the intensity of contact 12006 is detected (FIG. 8C), window 12008 is displayed and a second tactile output (e.g., a “no-modifier tactile output”) is generated in response. As another example, in FIG. 8S, there is no modifier input when the increase in intensity of contact 12056 is detected, and thus when the decrease in the intensity of contact 12056 is detected (FIG. 8T), window 12058 is displayed and a second tactile output (e.g., a “no-modifier tactile output”) is generated in response. In some embodiments, the combination of the intensity increase-decrease and the lack of a modifier input is associated with a left-click of a mouse or similar input device; the combination activates operations associated with the left-click.

In some embodiments, the first operation corresponds (12128) to a right-click operation (e.g., an operation corresponding to clicking on the rightmost button of a two or three button mouse or trackpad, sometimes called a “right-click mouse operation”), and the second operation corresponds to a left-click operation (e.g., an operation corresponding to clicking on the leftmost button of a two or three button mouse or trackpad, sometimes called a “left-click mouse operation”). For example, the displaying of context menu 12014 or 12024 or 12062 is a right-click operation, and the displaying of window 12008 (FIG. 8C) is a left-click operation.

In some embodiments, the contact is detected on the touch-sensitive surface while a focus selector is over an icon on the display, the first operation includes (12130) displaying a context menu that includes selectable options to perform operations associated with the icon, and the second operation includes displaying a new application window associated with the icon (e.g., launching an application or, if the application has already been launched, opening a new window of the application that includes a document associated with the icon). For example, in FIGS. 8A-8J, contact 12006 is detected on touch-sensitive surface 451 while cursor 12004 is displayed over user interface object 12002-2. When there is no modifier input detected, window 12008 of an application associated with user interface object 12002-2 is displayed, as shown in FIG. 8C. When a modifier input is detected, context menu 12014 is displayed, as shown in FIGS. 8E, 8G, and 8J. Context menu 12014 includes selectable options to perform operations associated with user interface object 12002-2. Analogously, in FIGS. 8R-8V, contact 12056 is detected over user interface object 12052-2 on touch-sensitive display 112. When there is no modifier input detected, window 12058 of an application associated with user interface object 12052-2 is displayed, as shown in FIG. 8T. When a modifier input is detected, context menu 12062 is displayed, as shown in FIG. 8V. Context menu 12062 includes selectable options to perform operations associated with user interface object 12052-2.

In some embodiments, the first tactile output is (12132) generated by movement of the touch-sensitive surface that includes a first dominant movement component (e.g., movement corresponding to the initial impulse, ignoring any unintended resonance), the second tactile output is generated by movement of the touch-sensitive surface that includes a second dominant movement component, and the first dominant movement component and the second dominant movement component have a same movement profile (e.g., same waveform shape such as square, sine, squine, sawtooth, triangle, or approximately the same width/period) and different amplitudes, as shown in FIG. 8Q. Thus, in some embodiments, the tactile outputs with and without the modifier input optionally differs in amplitude rather than in the movement profile, so that one tactile sensation is a stronger version of the other tactile sensation. In contrast, in some embodiments, the tactile output (e.g., a “modifier-active tactile output”) generated when a modifier input was detected and the tactile output (e.g., a “no-modifier tactile output”) generated when a modifier input was not detected both have respective dominant movement components that have different respective movement profiles (for example, the movement profiles depicted in FIG. 8P) with either the same maximum amplitude or different maximum amplitudes.

It should be understood that the particular order in which the operations in FIGS. 9A-9B have been described is merely exemplary and is not intended to indicate that the described order is the only order in which the operations could be performed. One of ordinary skill in the art would recognize various ways to reorder the operations described herein. Additionally, it should be noted that details of other processes described herein with respect to other methods described herein (e.g., those listed in the fifth paragraph of the Description of Embodiments) are also applicable in an analogous manner to method 12100 described above with respect to FIGS. 9A-9B. For example, the contacts, gestures, user interface objects, tactile outputs, intensity thresholds, and focus selectors described above with reference to method 12100 optionally has one or more of the characteristics of the contacts, gestures, user interface objects, tactile outputs, intensity thresholds, and focus selectors described herein with reference to other methods described herein (e.g., those listed in the fifth paragraph of the Description of Embodiments). For brevity, these details are not repeated here.

In accordance with some embodiments, FIG. 10 shows a functional block diagram of an electronic device 12200 configured in accordance with the principles of the various described embodiments. The functional blocks of the device are, optionally, implemented by hardware, software, or a combination of hardware and software to carry out the principles of the various described embodiments. It is understood by persons of skill in the art that the functional blocks described in FIG. 10 are, optionally, combined or separated into sub-blocks to implement the principles of the various described embodiments. Therefore, the description herein optionally supports any possible combination or separation or further definition of the functional blocks described herein.

As shown in FIG. 10, an electronic device 12200 includes a display unit 12202, a touch-sensitive surface unit 12204 configured to receive contacts, one or more sensor units 12205 configured to detect intensity of contacts with the touch-sensitive surface unit 12204, and a processing unit 12206 coupled to the display unit 12202, the touch-sensitive surface unit 12204 and the sensor units 12205. In some embodiments, the processing unit 12206 includes a detecting unit 12208, a performing unit 12210, and a generating unit 12212.

The processing unit 12206 is configured to: detect a contact on the touch-sensitive surface unit 12204 (e.g., with the detecting unit 12208); detect an increase in intensity of the contact above a first activation threshold (e.g., with the detecting unit 12208); after detecting the increase in intensity of the contact above the first activation threshold, detect a reduction in intensity of the contact below a second activation threshold (e.g., with the detecting unit 12208); and in response to detecting the reduction in intensity of the contact below the second activation threshold: in accordance with a determination that a modifier input was detected while detecting the increase in intensity of the contact above the first activation threshold: perform a first operation (e.g., with the performing unit 12210) and generate a first tactile output on the touch-sensitive surface unit 12204 (e.g., with the generating unit 12212); and in accordance with a determination that the modifier input was not detected while detecting the increase in intensity of the contact above the first activation threshold: perform a second operation different from the first operation (e.g., with the performing unit 12210) and generate a second tactile output on the touch-sensitive surface unit 12204, wherein the second tactile output is different from the first tactile output (e.g., with the generating unit 12212).

In some embodiments, the modifier input is an input selected from the set consisting of: a key press of a modifier key, an additional contact on the touch-sensitive surface unit 12204, and detection of the contact on a predefined portion of the touch-sensitive surface unit 12204 designated to modify inputs.

In some embodiments, the first operation corresponds to a right-click operation, and the second operation corresponds to a left-click operation.

In some embodiments, the contact is detected on the touch-sensitive surface unit 12204 while a focus selector is over an icon on the display unit 12202, the first operation includes displaying a context menu that includes selectable options to perform operations associated with the icon, and the second operation includes displaying a new application window associated with the icon.

In some embodiments, the second activation threshold is different from the first activation threshold.

In some embodiments, the second activation threshold is the same as the first activation threshold.

In some embodiments, the first tactile output is generated by movement of the touch-sensitive surface unit 12204 that includes a first dominant movement component, the second tactile output is generated by movement of the touch-sensitive surface unit 12204 that includes a second dominant movement component, and the first dominant movement component and the second dominant movement component have a same movement profile and different amplitudes.

The operations in the information processing methods described above are, optionally implemented by running one or more functional modules in information processing apparatus such as general purpose processors (e.g., as described above with respect to FIGS. 1A and 3) or application specific chips.

The operations described above with reference to FIGS. 9A-9B are, optionally, implemented by components depicted in FIGS. 1A-1B or FIG. 10. For example, detection operations 12102, 12104, and 12106, performing operations 12116 and 12124, and generating operations 12118 and 12126 are, optionally, implemented by event sorter 170, event recognizer 180, and event handler 190. Event monitor 171 in event sorter 170 detects a contact on touch-sensitive display 112, and event dispatcher module 174 delivers the event information to application 136-1. A respective event recognizer 180 of application 136-1 compares the event information to respective event definitions 186, and determines whether a first contact at a first location on the touch-sensitive surface corresponds to a predefined event or sub-event, such as selection of an object on a user interface. When a respective predefined event or sub-event is detected, event recognizer 180 activates an event handler 190 associated with the detection of the event or sub-event. Event handler 190 optionally utilizes or calls data updater 176 or object updater 177 to update the application internal state 192. In some embodiments, event handler 190 accesses a respective GUI updater 178 to update what is displayed by the application. Similarly, it would be clear to a person having ordinary skill in the art how other processes can be implemented based on the components depicted in FIGS. 1A-1B.

Providing Feedback for Changing Activation States of a User Interface

Many electronic devices have graphical user interfaces that include user interface objects, such as virtual buttons and switches. In some circumstances, a user activates a user interface object to perform an operation or adjust a parameter or property. To make a virtual button or switch easier to use, the virtual object optionally mimics the behavior of the corresponding physical object. For example, haptic sensations are, in some circumstances, felt when a virtual switch is operated, with the haptic sensations mimicking the sensations of the corresponding physical switch, such as mimicking the clicks of a physical actuator mechanism (e.g., a mouse button) that activates the switch. But physical objects, such as real buttons and switches, will, in some circumstances provide excessive tactile feedback in some circumstances, and too little feedback in others. In such situations, a virtual object that just mimicked sensations of the corresponding physical object would also provide too much (or too little) feedback. But a virtual object does not have to be provided with haptic feedback that just mimics tactile sensations from the corresponding physical object. The embodiments described below provide tactile feedback that corresponds to changes in activation states of a virtual button, switch or other user interface object, rather than tactile feedback that corresponds 1:1 to tactile sensations that would be felt by a user when using a physical control to perform similar operations. When tactile sensations are provided for activation state changes of the virtual button or switch, the user can better discern the activation state of the virtual button without being distracted or confused by too much or too little tactile feedback. This improved haptic feedback for virtual objects enables the user to operate the device more quickly and efficiently, thereby creating a more efficient human-machine interface.

FIGS. 11A-11N illustrate exemplary user interfaces for providing feedback for changing activation states of a user interface object in accordance with some embodiments. The user interfaces in these figures are used to illustrate the processes described below, including the processes in FIGS. 12A-12B. FIGS. 11A-11N include intensity diagrams that show the current intensity of the contact on the touch-sensitive surface relative to a plurality of intensity thresholds including a light press intensity threshold (e.g., “IT_(L)”) and a deep press intensity threshold (e.g., “IT_(D)”). In some embodiments, operations similar to those described below with reference to “IT_(L)” and “IT_(D)” are performed with reference to different intensity thresholds.

FIG. 11A illustrates an example of a user interface that includes one or more user interface objects. Image editor user interface 12300 is displayed on display 450 (e.g., display 340) of a device (e.g., device 300). Image 12302 is displayed in image editor user interface 12300 for editing in accordance with user commands. One or more user interface objects (for example, buttons, sliders, rocker switches) optionally include control user interface objects such as rocker switches 12304 and status user interface objects such as value indicators 12306 displayed in image editor user interface 12300. The user interface objects in FIG. 11A-11G are configured to enable a user to issue commands for editing image 12302 and the user interface objects in FIG. 11H-11N are configured to enable a user to issue commands for editing image 12322. For example, one or more rocker switches 12304, for modifying respective parameters of image 12302, are displayed in image editor user interface 12300. Values representing respective parameters are, optionally, displayed in respective value indicators 12306. Rocker switch 12304-1 enables a user to modify the brightness of image 12302, for example, and the brightness value (for example, represented by integers, with 0 as the middle value between the upper and lower bounds) is displayed in value indicator 12306-1. Clearly, a middle value of 0 is merely exemplary. For example, an upper bound of 100 and a lower bound of 0 would have a middle value of 50 (not shown), etc. Cursor 12308 is also displayed in user interface 12300. In some embodiments, cursor 12308 is a mouse pointer. Cursor 12308 is an example of a focus selector.

A respective rocker switch 12304 optionally has a “minus” portion for reducing the value of a parameter associated with the rocker switch, indicated by the minus sign, and a “plus” portion for increasing the value of a parameter associated with the rocker switch, indicated by a plus sign. A rocker switch 12304 is, optionally, activated when a focus selector (e.g., cursor 12308) is positioned over a portion of the rocker switch and an intensity of a contact associated with the focus selector changes. In some embodiments, the corresponding value decreases or increases depending on the portion over which the focus selector is positioned. When the focus selector is positioned over the “minus” portion, the corresponding value decreases when the rocker switch is activated. When the focus selector is positioned over the “plus” portion, the corresponding value increases when the rocker switch is activated. In FIG. 11A, cursor 12308 is positioned over the “minus” portion of rocker switch 12304-1.

While rocker switch 12304-1 is not activated, rocker switch 12304-1 is displayed in a neutral position, as shown FIG. 11A. When rocker switch 12304-1 is activated, rocker switch 12304-1 is displayed as if either the “minus” portion (if cursor 12308 is positioned over the “minus” portion when rocker switch 12304-1 is activated, thus rocker switch 12304-1 is activated to decrease the value) or the “plus” portion (if cursor 12308 is positioned over the “plus” portion when rocker switch 12304-1 is activated, thus rocker switch 12304-1 is activated to increase the value) is depressed, as shown in FIG. 11B (for the “minus” portion being depressed) and FIG. 11E (for the “plus” portion being depressed), respectively. In some embodiments, when rocker switch 12304-1 is activated, an animation showing a transition of rocker switch 12304-1 from the neutral position to either depressed position is displayed; and when rocker switch 12304-1 is deactivated, an animation showing a transition of rocker switch 12304-1 from either depressed position to the neutral position is displayed.

FIG. 11A shows contact 12310 detected on touch-sensitive surface 451 (e.g., touchpad 355) of the device at an intensity that is above a contact detection threshold (e.g., “IT₀”) and below a light press intensity threshold (e.g., “IT_(L)”) for activating rocker switch 12304-1. While contact 12310 continues to be detected on touch-sensitive surface 451 and cursor 12308 is positioned over the “minus” portion of rocker switch 12304-1, the intensity of contact 12310 is, in some circumstances, increased to a first intensity that is above the light press intensity threshold (e.g., “IT_(L)”) for activating rocker switch 12304-1, and the increase in intensity is detected, as shown in FIG. 11B. In response to the detection of the increase in intensity, rocker switch 12304-1 is activated and the brightness value in value indicator 12306-1 decreases. The brightness of image 12302 changes in accordance with the change in the brightness value. In some embodiments, the brightness value decreases at a relatively slow rate (e.g., −1 in value per second). In some embodiments, rocker switch 12304-1 is animated to show the “minus” portion being depressed. In some embodiments, the brightness value continues to decrease as long as the intensity of contact 12310 does not decrease below the light press intensity threshold (e.g., “IT_(L)”).

The intensity of contact 12310 is, in some circumstances, increased further. While contact 12310 continues to be detected on touch-sensitive surface 451 and cursor 12308 is still positioned over the “minus” portion of rocker switch 12304-1, the device detects an increase in intensity of contact 12310 from the first intensity (e.g., an intensity between IT_(L) and IT_(D)) to a second, higher intensity that is above a deep press intensity threshold (e.g., “IT_(D)”). In response to this increase in intensity, rocker switch 12304-1 changes to a further activation state, as shown in FIG. 11C where the portion of the rocker switch under focus selector 12308 is pushed “into” the display, and the brightness value of image 12302 decreases at a rate that is faster (e.g., −10 per second) than the rate of decrease at the first intensity, and the brightness of image 12302 changes in accordance with the change in the brightness value, as shown in FIG. 11C.

The intensity of contact 12310 is, in some circumstances, then decreased below the light press intensity threshold (e.g., “IT_(L)”) quickly (e.g., from the second intensity above IT_(D) to an intensity below IT_(L) in 0.05 seconds or less). In response to the detection of the decrease in intensity below the light press intensity threshold (e.g., “IT_(L)”), the brightness value stops changing, and the brightness of image 12302 stops changing, as shown in FIG. 11D. Depending on the rate at which the intensity decreased from the second intensity to an intensity below the light press intensity threshold (e.g., “IT_(L)”), the brightness value optionally stops changing immediately in response to the detection of the intensity decrease, or the rate of change in the brightness value optionally first decreases to a slower rate (e.g., the rate at the first intensity) before the brightness values stops changing.

Rocker switch 12304-1 includes multiple activation states. In some embodiments, the activation states for rocker switch 12304-1 are different brightness levels as the brightness value changes. In some embodiments, when the brightness value is decreasing at the “slow” rate (e.g., −1 per second), each brightness value increment based on the rate of decrease (e.g., −1, −2, −3, so forth) is considered to be an activation state, and when the brightness value is decreasing at the “fast” rate (e.g., −10 per second), each brightness value increment based on the rate of decrease (e.g., each −10th increment) is considered to be an activation state. In some of these embodiments, at each activation state, a tactile output is, optionally, generated on touch-sensitive surface 451. For example, when the value decreases from −1 to −2, then to −3 and then to −13, tactile outputs are, optionally, generated at −2, −3, and −13.

In some other embodiments, the activation states are the different rates at which the brightness value changes. For example, the “slow” rate is one activation state, the “fast” rate is another activation state, and cessation of activation of rocker switch 12304-1 (e.g., a rate of 0 per second) is another activation state of the rocker switch. A tactile output is, optionally, generated whenever the rate of decrease or increase for the brightness value changes or when rocker switch 12304-1 is activated or ceases to be activated. For example, when the brightness value is not changing, rocker switch 12304-1 is in a first (“neutral”) activation state; when the brightness value is decreasing at the “slow” rate (e.g., −1 per second), rocker switch 12304-1 is in a second (“light press”) activation state; and when the brightness value is decreasing at the “fast” rate (e.g., −10 per second), rocker switch 12304-1 is in a third (“deep press”) activation state. At each activation state, a tactile output is, optionally, generated on touch-sensitive surface 451. For example, when the activation state changes from the first (“neutral”) activation state shown in FIG. 11A to the second (“light press”) activation state shown in FIG. 11B, the device generates a tactile output corresponding to the change in activation state. As another example, when the activation state changes from the second (“light press”) activation state shown in FIG. 11B to the third (“deep press”) activation state shown in FIG. 11C, the device generates a tactile output corresponding to the change in activation state.

In some embodiments, the tactile output generated in response to a change in activation state optionally varies depending on whether the change in activation state was in response to an increase or a decrease in the intensity of contact 12310. A tactile output generated for an activation state change in response to an increase in intensity is, optionally, different from a tactile output generated for an activation state change in response to a decrease in intensity. The tactile outputs are, optionally, different in movement profile, amplitude, or both. In some embodiments, a tactile output generated for an activation state change in response to an increase in intensity corresponds to a tactile sensation that simulates a down-click (e.g., press-and-hold) of a physical button (e.g., a mouse button), and a tactile output generated for an activation state change in response to a decrease in intensity corresponds to a tactile sensation that simulates an up-click (e.g., release from a press-and-hold) of a physical button.

Returning to FIG. 11D, cursor 12308 has been moved (e.g., from location 12308-a to location 12308-b) to the “plus” portion of rocker switch 12304-1 (e.g., in accordance with movement of contact 12310 across touch-sensitive surface 451 while contact 12310 has an intensity between IT₀ and IT_(L) from location 12310-a to location 12310-b in FIG. 11D). The intensity of contact 12310 is increased to the second intensity quickly (e.g., the intensity of contact 12310-b increases from an intensity below the IT_(L) in FIG. 11D to the second intensity that is above IT_(D) in FIG. 11E in 0.05 seconds or less), as shown in FIG. 11E. In response to the increase in intensity, the brightness value increases at the “fast” rate (e.g., +10 per second). As shown in FIG. 11D, rocker switch 12304-1 is in the neutral activation state and transitions directly to the deep press activation state in FIG. 11E in response to a rapid increase in intensity of contact 12310 to an intensity above IT_(D).

As shown in FIG. 11F, the intensity of contact 12310 is subsequently decreased from the second intensity (e.g., an intensity above IT_(D)) to the first intensity (e.g., an intensity between IT_(L) and IT_(D)). In response to detecting the intensity decrease to the first intensity, the brightness value increases at the “slow” rate (e.g., +1 per second), as shown in FIG. 11F and rocker switch 12304-1 is shown in the light press activation state.

As shown in FIG. 11G, the intensity of contact 12310 is subsequently decreased further, from the first intensity (e.g., an intensity between IT_(L) and IT_(D)) to an intensity below the light press intensity threshold (e.g., “IT_(L)”). In response to the further decrease in intensity of contact 12310, the brightness value stops increasing (e.g., the rate of change becomes 0 per second), as shown in FIG. 11G and rocker switch 12304-1 is shown in the neutral activation state.

As described above, the activation states of rocker switch 12304-1 optionally correspond to the increments of change in the value, in accordance with the rate of change, or the different rates of change. A tactile output is, optionally, generated whenever one activation state changes to another (e.g., one increment to the next or one rate of change to the next).

FIGS. 11H-11N illustrate an example of the user interfaces described above, with reference to FIGS. 11A-11G, implemented on a device (e.g., device 100) with a touch-sensitive display 112. FIG. 11H illustrates image editor user interface 12328 displayed on touch-sensitive display 112 of a device. Image 12322 is displayed in image editor user interface 12328 for editing in accordance with user commands. One or more user interface objects (for example, buttons, sliders, rocker switches) optionally include control user interface objects such as rocker switches 12324 and status user interface objects such as value indicators 12326 displayed in image editor user interface 12328. The user interface objects in FIGS. 11H-11N are configured to enable a user to issue commands for editing image 12322. For example, one or more rocker switches 12324, for modifying respective parameters of image 12322, are displayed in image editor user interface 12328. Values representing respective parameters are, optionally, displayed in respective value indicators 12326. Rocker switch 12324-1 enables a user to modify the brightness of image 12322 in accordance with changes in intensity of contact 12330 while a focus selector is over rocker switch 12324-1, for example, and the brightness value (for example, represented by integers, with 0 as the middle value between the upper and lower bounds) is displayed in value indicator 12326-1. Contact 12330 is an example of a focus selector.

A respective rocker switch 12324 optionally has a “minus” portion for reducing the value of a parameter associated with the rocker switch, indicated by the minus sign, and a “plus” portion for increasing the value of a parameter associated with the rocker switch, indicated by a plus sign. A rocker switch 12324 is, optionally activated when a contact is positioned over a portion of the rocker switch and an intensity of a contact associated with the focus selector changes. In some embodiments, the corresponding value decreases or increases depending on the portion over which the contact is positioned. When the contact is positioned over the “minus” portion, the corresponding value decreases when the rocker switch is activated. When the contact is positioned over the “plus” portion, the corresponding value increases when the rocker switch is activated. In FIG. 11H, contact 12330 is positioned over the “minus” portion of rocker switch 12324-1.

While rocker switch 12324-1 is not activated, rocker switch 12324-1 is displayed in a neutral position, as shown FIG. 11H. When rocker switch 12324-1 is activated, rocker switch 12324-1 is displayed as if either the “minus” portion (if contact 12330 is positioned over the “minus” portion when rocker switch 12324-1 is activated, thus rocker switch 12324-1 is activated to decrease the value) or the “plus” portion (if contact 12330 is positioned over the “plus” portion when rocker switch 12324-1 is activated, thus rocker switch 12324-1 is activated to increase the value) is depressed, as shown in FIG. 11I (for the “minus” portion being depressed) and FIG. 11L (for the “plus” portion being depressed), respectively. In some embodiments, when rocker switch 12324-1 is activated, an animation showing a transition of rocker switch 12324-1 from the neutral position to either depressed position is displayed; and when rocker switch 12324-1 is deactivated, an animation showing a transition of rocker switch 12324-1 from either depressed position to the neutral position is displayed.

FIG. 11H shows contact 12330 detected on touch-sensitive display 112 at an intensity that is above a contact detection threshold (e.g., “IT₀”) and below a light press intensity threshold (e.g., “IT_(L)”) for activating rocker switch 12324-1. While contact 12330 continues to be detected on touch-sensitive display 112 over the “minus” portion of rocker switch 12324-1, the intensity of contact 12330 is, in some circumstances, increased to a first intensity that is above the light press intensity threshold (e.g., “IT_(L)”) for activating rocker switch 12324-1, and the increase in intensity is detected, as shown in FIG. 11I. In response to the detection of the increase in intensity, rocker switch 12324-1 is activated and the brightness value in value indicator 12326-1 decreases. The brightness of image 12322 changes in accordance with the change in the brightness value. In some embodiments, the brightness value decreases at a relatively slow rate (e.g., −1 in value per second). In some embodiments, rocker switch 12324-1 is animated to show the “minus” portion being depressed. In some embodiments, the brightness value continues to decrease as long as the intensity of contact 12330 does not decrease below the light press intensity threshold (e.g., “IT_(L)”).

The intensity of contact 12330 is, in some circumstances, increased further. While contact 12330 continues to be detected on touch-sensitive display 112 over the “minus” portion of rocker switch 12324-1, the device detects an increase in intensity of contact 12330 from the first intensity (e.g., an intensity between IT_(L) and IT_(D)) to a second, higher intensity that is above a deep press intensity threshold (e.g., “IT_(D)”). In response to this increase in intensity, rocker switch 12324-1 changes to a further activation state, as shown in FIG. 11J where the portion of the rocker switch under contact 12330 is pushed “into” the display, and the brightness value of image 12322 decreases at a rate that is faster (e.g., −10 per second) than the rate of decrease at the first intensity, and the brightness of image 12322 changes in accordance with the change in the brightness value, as shown in FIG. 11J.

The intensity of contact 12330 is, in some circumstances, then decreased below the light press intensity threshold (e.g., “IT_(L)”) quickly (e.g., from the second intensity above IT_(D) to an intensity below IT_(L) in 0.05 seconds or less). In response to the detection of the decrease in intensity below the light press intensity threshold (e.g., “IT_(L)”), the brightness value stops changing, and the brightness of image 12322 stops changing, as shown in FIG. 11K. Depending on the rate at which the intensity decreased from the second intensity to an intensity below the light press intensity threshold (e.g., “IT_(L)”), the brightness value optionally stops changing immediately in response to the detection of the intensity decrease, or the rate of change in the brightness value optionally first decreases to a slower rate (e.g., the rate at the first intensity) before the brightness values stops changing.

Rocker switch 12324-1 includes multiple activation states. In some embodiments, the activation states for rocker switch 12324-1 are different brightness levels as the brightness value changes. In some embodiments, when the brightness value is decreasing at the “slow” rate (e.g., −1 per second), each brightness value increment based on the rate of decrease (e.g., −1, −2, −3, so forth) is considered to be an activation state, and when the brightness value is decreasing at the “fast” rate (e.g., −10 per second), each brightness value increment based on the rate of decrease (e.g., each −10th increment) is considered to be an activation state. In some of these embodiments, at each activation state, a tactile output is, optionally, generated on touch-sensitive display 112. For example, when the value decreases from −1 to −2, then to −3 and then to −13, tactile outputs are, optionally, generated at −2, −3, and −13.

In some other embodiments, the activation states are the different rates at which the brightness value changes. For example, the “slow” rate is one activation state, the “fast” rate is another activation state, and cessation of activation of rocker switch 12324-1 (e.g., a rate of 0 per second) is another activation state. A tactile output is, optionally, generated whenever the rate of decrease or increase for the brightness value changes or when rocker switch 12324-1 is activated or ceases to be activated. For example, when the brightness value is not changing, rocker switch 12324-1 is in a first (“neutral”) activation state; when the brightness value is decreasing at the “slow” rate (e.g., −1 per second), rocker switch 12324-1 is in a second (“light press”) activation state; and when the brightness value is decreasing at the “fast” rate (e.g., −10 per second), rocker switch 12324-1 is in a third (“deep press”) activation state. At each activation state, a tactile output is, optionally, generated on touch-sensitive display 112. For example, when the activation state changes from the first (“neutral”) activation state shown in FIG. 11H to the second (“light press”) activation state shown in FIG. 11I, the device generates a tactile output corresponding to the change in activation state. As another example, when the activation state changes from the second (“light press”) activation state shown in FIG. 11I to the third (“deep press”) activation state shown in FIG. 11J, the device generates a tactile output corresponding to the change in activation state.

In some embodiments, the tactile output generated in response to a change in activation state optionally varies depending on whether the change in activation state was in response to an increase or a decrease in the intensity of contact 12330. A tactile output generated for an activation state change in response to an increase in intensity is, optionally, different from a tactile output generated for an activation state change in response to a decrease in intensity. The tactile outputs is, optionally, different in movement profile, amplitude, or both. In some embodiments, a tactile output generated for an activation state change in response to an increase in intensity corresponds to a tactile sensation that simulates a down-click (e.g., press-and-hold) of a physical button (e.g., a mouse button), and a tactile output generated for an activation state change in response to a decrease in intensity corresponds to a tactile sensation that simulates an up-click (e.g., release from a press-and-hold) of a physical button.

Returning to FIG. 11K, contact 12330 has been moved (e.g., from location 12330-a to location 12330-b while contact 12330 has an intensity between IT₀ and IT_(L)) to the “plus” portion of rocker switch 12324-1. The intensity of contact 12330 is increased to the second intensity quickly (e.g., the intensity of contact 12330 increases from an intensity below IT_(L) of contact 12330-b in FIG. 11K to the second intensity that is above IT_(D) in FIG. 11L in 0.05 seconds or less), as shown in FIG. 11L. In response to the increase in intensity, the brightness value increases at the “fast” rate (e.g., +10 per second). As shown in FIG. 11K, rocker switch 12324-1 is in the neutral activation state and transitions directly to the deep press activation state in FIG. 11L in response to a rapid increase in intensity of contact 12330 to an intensity above IT_(D).

As shown in FIG. 11M, the intensity of contact 12330 is subsequently decreased from the second intensity (e.g., an intensity above IT_(D)) to the first intensity (e.g., an intensity between IT_(L) and IT_(D)). In response to detecting the intensity decrease to the first intensity, the brightness value increases at the “slow” rate (e.g., +1 per second), as shown in FIG. 11M and rocker switch 12324-1 is shown in the light press activation state.

As shown in FIG. 11N, the intensity of contact 12330 is subsequently decreased further, from the first intensity (e.g., an intensity between IT_(L) and IT_(D)) to an intensity below the light press intensity threshold (e.g., “IT_(L)”). In response to the further decrease in intensity of contact 12330, the brightness value stops increasing (e.g., the rate of change becomes 0 per second), as shown in FIG. 11N, and rocker switch 12324-1 is shown in the neutral activation state.

As described above, the activation states of rocker switch 12324-1 optionally correspond to the increments of change in the value, in accordance with the rate of change, or the different rates of change. A tactile output is, optionally, generated whenever one activation state changes to another (e.g., one increment to the next or one rate of change to the next).

FIGS. 12A-12B are flow diagrams illustrating a method 12400 of providing feedback for changing activation states of a user interface object in accordance with some embodiments. The method 12400 is performed at an electronic device (e.g., device 300, FIG. 3, or portable multifunction device 100, FIG. 1A) with a display and a touch-sensitive surface. In some embodiments, the display is a touch screen display and the touch-sensitive surface is on the display. In some embodiments, the display is separate from the touch-sensitive surface. Some operations in method 12400 are, optionally, combined and/or the order of some operations is, optionally, changed.

As described below, the method 12400 provides a more efficient way to provide feedback when changing activation states of a user interface object. The method reduces the cognitive burden on a user when changing activation states of a user interface object, thereby creating a more efficient human-machine interface. For battery-operated electronic devices, enabling a user to change activation states of a user interface object faster and more efficiently conserves power and increases the time between battery charges.

The device displays (12402) a user interface object on the display, where the user interface object has a plurality of activation states. FIG. 11A, for example, shows rocker switches 12304, for adjusting parameters of an image, displayed in image editor user interface 12300 on a display 450 that is separate from a touch-sensitive surface 451 on which contacts are detected. As another example, FIG. 11H shows rocker switches 12324, for adjusting parameters of an image, displayed in image editor user interface 12328 on a touch-sensitive display 112 on which contacts are detected. A respective rocker switch 12304 or 12324 has multiple activation states, which are, optionally, the increments of change in the corresponding parameter value or the rates of change in the parameter value (e.g., a neutral activation state, a light press activation state and a deep press activation state).

The device detects (12404) a contact (e.g., a finger contact) on the touch-sensitive surface. As shown in FIG. 11A, for example, contact 12310 is detected on touch-sensitive surface 451. As another example, FIG. 11H shows contact 12330 detected on touch-sensitive display 112.

The device detects (12406) an increase of intensity of the contact on the touch-sensitive surface from a first intensity (e.g., an intensity between IT_(L) and IT_(D)) to a second intensity (e.g., an intensity above IT_(D)). FIGS. 11A-11C shows an increase in the intensity of contact 12310 from an intensity below a light press intensity threshold (e.g., “IT_(L)”) for activating rocker switch 12304-1, to a first intensity that is higher than the light press intensity threshold (e.g., “IT_(L)”), and then to a second intensity that is higher than the first intensity. As another example, in FIGS. 11D-11E, the device detects an increase in the intensity of contact 12310, from an intensity below the light press intensity threshold (e.g., “IT_(L)”), quickly (e.g., intensity increases from the below-threshold intensity to the second intensity in 0.05 seconds or less) to a second intensity that is higher than the first intensity. In FIGS. 11H-11J, the device detects an increase in the intensity of contact 12330 from an intensity below a light press intensity threshold (e.g., “IT_(L)”) for activating rocker switch 12324-1, to a first intensity that is higher than the light press intensity threshold (e.g., “IT_(L)”), and then to a second intensity that is higher than the first intensity. As another example, in FIGS. 11K-11L, the device detects an increase in the intensity of contact 12330, from an intensity below the light press intensity threshold (e.g., “IT_(L)”), quickly (e.g., intensity increases from the below-threshold intensity to the second intensity in 0.05 seconds or less) to a second intensity that is higher than the first intensity.

In response to detecting the increase in intensity (12408), the device changes (12410) activation states of the user interface object M times, where M is a positive integer, and generates (12412) a tactile output on the touch-sensitive surface corresponding to each change in activation state of the user interface object. For example, in FIGS. 11A-11C or 11H-11J, in response to the detection of the increase in intensity from below the light press intensity threshold (e.g., “IT_(L)”) to the first intensity (e.g., an intensity between IT_(L) and IT_(D)) and then to the second intensity (e.g., an intensity above IT_(D)), the rocker switch changes from a neutral activation state (corresponding to no change in brightness of the image) to a light press activation state (corresponding to a slow rate of change in brightness of the image) and then to a deep press activation state (corresponding to a fast rate of change in brightness of the image). Here, the activation state (in this case, the rate of change) changes two times, and two tactile outputs are generated.

As another example, in FIGS. 11D-11E or 11K-11L, in response to the detection of the rapid increase in intensity from below the light press intensity threshold (e.g., “IT_(L)”) to the second intensity (e.g., an intensity above IT_(D)), the rocker switch changes from the neutral activation state (corresponding to no change in brightness of the image) to the deep press activation state (corresponding to a fast rate of change in brightness of the image), skipping the light press activation state (corresponding to a slow rate of change in brightness of the image). Here, the activation state (in this case, the rate of change) changes once, and one tactile output is generated, even though the device has detected a change in intensity of the contact that has the same magnitude as the change in intensity of contact 12310 between FIGS. 11A and 11C.

In some embodiments, the user interface object has a first appearance in a first activation state; the user interface object has a second appearance, different from the first appearance, in a second activation state; and in response to detecting the increase in intensity, the device displays (12414) an animation of the user interface object transitioning from the first appearance to the second appearance. Rocker switch 12304-1 appears in a plurality of activation states in FIGS. 11A-11G, for example, rocker switch 12304-1 appears in a neutral position when the rate of change is 0 (e.g., rocker switch 12304-1 is in a neutral activation state as shown in FIGS. 11A, 11D and 11G) and appears with either the “minus” portion or the “plus” portion depressed when the rate is non-zero (e.g., rocker switch 12304-1 is in a light press activation state as shown in FIGS. 11B and 11F or in a deep press activation state as shown in FIGS. 11C and 11E). When rocker switch 12304-1 is activated or deactivated (e.g., the rate of change changes), an animation showing a transition from the neutral position to a depressed position, or vice versa, respectively, is, optionally, displayed. Rocker switch 12324-1 appears in a plurality of activation states in FIGS. 11H-11N, for example, rocker switch 12324-1 appears in a neutral position when the rate of change is 0 (e.g., rocker switch 12324-1 is in a neutral activation state as shown in FIGS. 11H, 11K and 11N) and appears with either the “minus” portion or the “plus” portion depressed when the rate is non-zero (e.g., rocker switch 12324-1 is in a light press activation state as shown in FIGS. 11I and 11M or in a deep press activation state as shown in FIGS. 11J and 11L). When rocker switch 12324-1 is activated or deactivated (e.g., the rate of change changes), an animation showing a transition from the neutral position to a depressed position, or vice versa, respectively, is, optionally, displayed.

The device detects (12416) a decrease of intensity of the contact from the second intensity to the first intensity. As shown in FIGS. 11C-11D, for example, a quick decrease in the intensity of contact 12310 from the second intensity to below the light press intensity threshold (e.g., “IT_(L)”) is detected. As another example, in FIGS. 11E-11G, a decrease in the intensity of contact 12310 from the second intensity to the first intensity and then to below the light press intensity threshold (e.g., “IT_(L)”) is detected. As further examples, in FIGS. 11J-11K, for example, a quick decrease in the intensity of contact 12330 from the second intensity to below the light press intensity threshold (e.g., “IT_(L)”) is detected. In FIGS. 11L-11N, a decrease in the intensity of contact 12330 from the second intensity to the first intensity and then to below the light press intensity threshold (e.g., “IT_(L)”) is detected.

In response to the detection of the decrease in intensity (12418), the device changes (12420) activation states of the user interface object N times, where N is a positive integer, and generates (12424) a tactile output on the touch-sensitive surface corresponding to each change in activation state of the user interface object, where N is different from M. For example, in FIGS. 11C-11D or FIGS. 11J-11K, in response to the detection of the decrease in intensity, the rate of change in the brightness value changes from the “fast” rate (e.g., the deep press activation state of rocker switch 12324-1) to 0 (e.g., the neutral activation state of rocker switch 12324-1), and one tactile output is generated, whereas two tactile outputs were generated in response to detecting the increase in intensity in FIGS. 11A-11C and 11H-11J, respectively. As another example, in FIGS. 11E-11G or 11L-11N, in response to the detection of the decrease in intensity, the rate of change in the brightness value changes from 0 (e.g., the neutral activation state of rocker switch 12324-1) to the “slow” rate (e.g., the light press activation state of rocker switch 12324-1) and then the “fast” rate (e.g., the deep press activation state of rocker switch 12324-1), and two tactile outputs are generated, whereas just one tactile output was generated in response to detecting the increase in intensity in FIGS. 11D-11E and 11K-11L, respectively.

In some embodiments, a distinct tactile output is a tactile output that was generated to provide feedback corresponding to a user interface event (e.g., a change in the activation state of the user interface object, such as activation of a button or other control). In some embodiments, the touch-sensitive surface is moved by an actuator in accordance with a separate waveform for each user interface event. The waveforms for different user interface events optionally overlap, but a waveform that was generated to provide a tactile feedback for a particular user interface event (e.g., activation of a button or change in activation state of a control such as a rocker switch) will still generate a distinct tactile output. In some embodiments, an activation state of a user interface object corresponds to an operational state of an application on the electronic device, and changing activation states of the user interface object changes operational states of the application. If the user interface object is an adjustable control interface such as a multi-state button, rocker-switch or slider, the activation states of the button/switch/slider are typically displayed by changing the visual appearance of the adjustable control interface (e.g., as a change in shading of a button, a change in rotation of a rocker switch or a change in position of a slider). Additionally, when the activation state of the button/switch/slider is changed, operation of an application associated with the button/switch/slider is changed accordingly. For example, if a rocker switch controls the brightness of an image, the activation states of the rocker switch correspond to different brightness levels of the image, and when the rocker switch changes from a first activation state to a second activation state, the brightness of the image changes from a first brightness level corresponding to the first activation state of the rocker switch to a second brightness level corresponding to the second activation state of the rocker switch. In some embodiments, activation states correspond to image property levels (e.g., hue, saturation, exposure, brightness, contrast), content navigation states (e.g., channel selection, forward navigation, backward navigation, frame-by-frame navigation), system property adjustments (e.g., volume control, screen brightness, date/time settings), rates of change (e.g., the rate at which an adjustable parameter value increases or decreases, speed of forward or backward seeking through video or audio), or other adjustable properties.

In some embodiments, M is (12424) greater than N. In FIGS. 11A-11D or 11H-11K, for example, the number of changes in activation state in response to the detection of the increase in intensity of the contact (e.g., a change from the neutral activation state to the light press activation state and a change from the light press activation state to the deep press activation state shown in FIGS. 11A-11C and 11H-11J) is greater than the number of changes in activation state in response to the detection of the decrease in intensity of the contact (e.g., a change from the deep press activation state to the neutral activation state shown in FIGS. 11C-11D and FIGS. 11J-11K).

In some embodiments, M is (12426) less than N. In FIGS. 11D-11G or 11K-11N, for example, the number of changes in activation state in response to the detection of the increase in intensity of the contact (e.g., a change from the neutral activation state to the deep press activation state shown in FIGS. 11D-11E and 11K-11L) is less than the number of changes in activation state in response to the detection of the decrease in intensity of the contact (e.g., a change from the deep press activation state to the light press activation state and a change from the light press activation state to the neutral activation state shown in FIGS. 11E-11G and 11L-11N).

In some embodiments, M is (12428) equal to 1 and N is equal to 2. In FIGS. 11D-11G or 11K-11N, for example, there is one change in activation state in response to the detection of the increase in intensity and two changes in activation state in response to the detection of the decrease in intensity.

In some embodiments, M is equal to 2 and N is (12430) equal to 1. In FIGS. 11A-11D or 11H-11K, for example, there are two changes in activation state in response to the detection of the increase in intensity and one change in activation state in response to the detection of the decrease in intensity.

In some embodiments, at least one tactile output generated in response to detecting the increase in intensity corresponds (12432) to a tactile sensation that simulates a down-click of a physical actuator mechanism (e.g., a simulation of the physical “down-click sensation” generated by the mechanical button apparatus of a physical button when a user activates the physical button), and at least one tactile output generated in response to detecting the decrease in intensity corresponds to a tactile sensation that simulates an up-click of a physical actuator mechanism (e.g., a simulation of the physical “up-click sensation” generated by the mechanical button apparatus of a physical button when a user activates the physical button). For example, the tactile outputs generated for the activation state changes in response to the detection of the increase in intensity of contact 12310 or 12330 correspond to tactile sensations that simulate a down-click, and the tactile outputs generated for the activation state changes in response to the detection of the decrease in intensity of contact 12310 or 12330 correspond to tactile sensations that simulate an up-click.

While M and N have been discussed herein as positive integers, in some circumstances M is zero (e.g., no activation states of the user interface object are changed in response to detecting the increase in intensity of the contact) and/or N is zero (e.g., no activation states of the user interface object are changed in response to detecting the decrease in intensity of the contact). Additionally, while M has been described as being different from N, in some circumstances M is equal to N (e.g., the number of activation states that are changed in response to detecting the increase in intensity of the contact is the same as the number of activation states that are changed in response to detecting the decrease in intensity of the contact).

It should be understood that the particular order in which the operations in FIGS. 12A-12B have been described is merely exemplary and is not intended to indicate that the described order is the only order in which the operations could be performed. One of ordinary skill in the art would recognize various ways to reorder the operations described herein. Additionally, it should be noted that details of other processes described herein with respect to other methods described herein (e.g., those listed in the fifth paragraph of the Description of Embodiments) are also applicable in an analogous manner to method 12400 described above with respect to FIGS. 12A-12B. For example, the contacts, user interface objects, tactile outputs, intensity thresholds, focus selectors, and animations described above with reference to method 12400 optionally has one or more of the characteristics of the contacts, user interface objects, tactile outputs, intensity thresholds, focus selectors, and animations described herein with reference to other methods described herein (e.g., those listed in the fifth paragraph of the Description of Embodiments). For brevity, these details are not repeated here.

In accordance with some embodiments, FIG. 13 shows a functional block diagram of an electronic device 12500 configured in accordance with the principles of the various described embodiments. The functional blocks of the device are, optionally, implemented by hardware, software, or a combination of hardware and software to carry out the principles of the various described embodiments. It is understood by persons of skill in the art that the functional blocks described in FIG. 13 are, optionally, combined or separated into sub-blocks to implement the principles of the various described embodiments. Therefore, the description herein optionally supports any possible combination or separation or further definition of the functional blocks described herein.

As shown in FIG. 13, an electronic device 12500 includes a display unit 12502 configured to display a user interface object, where the user interface object has a plurality of activation states; a touch-sensitive surface unit 12504 configured to receive contacts; one or more sensor units 12505 configured to detect intensity of contacts with the touch-sensitive surface unit 12504; and a processing unit 12506 coupled to the display unit 12502, the touch-sensitive surface unit 12504, and the sensor units 12505. In some embodiments, the processing unit 12506 includes a detecting unit 12508, a changing unit 12510, a generating unit 12512, and a display enabling unit 12514.

The processing unit 12506 is configured to: detect a contact on the touch-sensitive surface unit 12504 (e.g., with the detecting unit 12508); detect an increase of intensity of the contact on the touch-sensitive surface unit 12504 from a first intensity to a second intensity (e.g., with the detecting unit 12508); in response to detecting the increase in intensity: change activation states of the user interface object M times, where M is a positive integer (e.g., with the changing unit 12510), and generate a tactile output on the touch-sensitive surface unit 12504 corresponding to each change in activation state of the user interface object (e.g., with the generating unit 12512); detect a decrease of intensity of the contact from the second intensity to the first intensity (e.g., with the detecting unit 12508); and in response to detecting the decrease in intensity: change activation states of the user interface object N times, where N is a positive integer (e.g., with the changing unit 12510), and generate a tactile output on the touch-sensitive surface unit 12504 corresponding to each change in activation state of the user interface object, where N is different from M (e.g., with the generating unit 12512).

In some embodiments, the user interface object has a first appearance in a first activation state, the user interface object has a second appearance, different from the first appearance, in a second activation state, and the processing unit 12506 is configured to: in response to detecting the increase in intensity, enable display of an animation of the user interface object transitioning from the first appearance to the second appearance (e.g., with the display enabling unit 12514).

In some embodiments, M is greater than N.

In some embodiments, M is less than N.

In some embodiments, M is equal to 1 and N is equal to 2.

In some embodiments, M is equal to 2 and N is equal to 1.

In some embodiments, at least one tactile output generated (e.g., with the generating unit 12512) in response to detecting the increase in intensity corresponds to a tactile sensation that simulates a down-click of a physical actuator mechanism, and at least one tactile output generated (e.g., with the generating unit 12512) in response to detecting the decrease in intensity corresponds to a tactile sensation that simulates an up-click of a physical actuator mechanism.

The operations in the information processing methods described above are, optionally implemented by running one or more functional modules in information processing apparatus such as general purpose processors (e.g., as described above with respect to FIGS. 1A and 3) or application specific chips.

The operations described above with reference to FIGS. 12A-12B are, optionally, implemented by components depicted in FIGS. 1A-1B or FIG. 13. For example, detection operations 12404, 12406, 12416, changing operations 12410, 12420, and generating operations 12412, 12422 are, optionally, implemented by event sorter 170, event recognizer 180, and event handler 190. Event monitor 171 in event sorter 170 detects a contact on touch-sensitive display 112, and event dispatcher module 174 delivers the event information to application 136-1. A respective event recognizer 180 of application 136-1 compares the event information to respective event definitions 186, and determines whether a first contact at a first location on the touch-sensitive surface corresponds to a predefined event or sub-event, such as selection of an object on a user interface. When a respective predefined event or sub-event is detected, event recognizer 180 activates an event handler 190 associated with the detection of the event or sub-event. Event handler 190 optionally utilizes or calls data updater 176 or object updater 177 to update the application internal state 192. In some embodiments, event handler 190 accesses a respective GUI updater 178 to update what is displayed by the application. Similarly, it would be clear to a person having ordinary skill in the art how other processes can be implemented based on the components depicted in FIGS. 1A-1B.

Providing Feedback for Changing Activation States of a User Interface Object

Many electronic devices have graphical user interfaces that include user interface objects, such as buttons and switches. In some circumstances, a user activates a user interface object to perform an operation or adjust a parameter or property. In some devices, a tactile sensation is, in some circumstances, perceived by the user for corresponding physical inputs, such as clicks of a physical actuator mechanism (e.g., a mouse button) that activate a switch. To make a virtual button or switch easier to use, the virtual object optionally mimics the behavior of the corresponding physical object. For example, haptic sensations is, in some circumstances, felt when a virtual switch is operated, with the haptic sensations mimicking the sensations of the corresponding physical switch, such as mimicking the clicks of a physical actuator mechanism (e.g., a mouse button) that activates the switch. But physical objects, such as real buttons and switches, provide, in some circumstances, excessive tactile feedback in some situations, and too little feedback in others. In such situations, a virtual object that just mimicked sensations of the corresponding physical object would also provide too much (or too little) feedback. But a virtual object does not have to be provided with haptic feedback that just mimics tactile sensations from the corresponding physical object. The embodiments described below provide tactile feedback that is not tied to actuations of a physical actuator mechanism. For example, tactile sensations related to activation state changes are, optionally, provided. When tactile sensations not tied to physical actuations are provided for, the user can better discern the activation state of the virtual button without being distracted by too much or too little tactile feedback. If a user interface object goes through two or more activation state changes in rapid succession, haptic feedback does not need to be provided for each change in activation state, whereas the corresponding physical object would provide more tactile feedback. Also, the number of times that haptic feedback is provided as a contact increases in intensity does not have to be the same as the number of times that haptic feedback is provided as the contact decreases in intensity. This asymmetry in the number of times that haptic feedback is provided as a contact increases in intensity or decreases in intensity is, in some embodiments, dependent on how rapidly the contact intensity changes, and, in other embodiments, independent of how rapidly the contact intensity changes. This additional (or alternative) feedback enables the user to operate the device more quickly and efficiently, thereby creating a more efficient human-machine interface.

FIGS. 14A-14N illustrate exemplary user interfaces for providing feedback for changing activation states of a user interface object in accordance with some embodiments. The user interfaces in these figures are used to illustrate the processes described below, including the processes in FIGS. 15A-15C. FIGS. 14A-14N include intensity diagrams that show the current intensity of the contact on the touch-sensitive surface relative to a plurality of intensity thresholds including a light press intensity threshold (e.g., “IT_(L)”) and a deep press intensity threshold (e.g., “IT_(D)”). In some embodiments, operations similar to those described below with reference to “IT_(L)” and “IT_(D)” are performed with reference to different intensity thresholds.

FIG. 14A illustrates an example of a user interface that includes one or more user interface objects. Image editor user interface 12600 is displayed on display 450 (e.g., display 340) of a device (e.g., device 300). Image 12602 is displayed in image editor user interface 12600 for editing in accordance with user commands. One or more user interface objects (for example, buttons, sliders, rocker switches) optionally include control user interface objects such as rocker switches 12604 and status user interface objects such as value indicators 12606 displayed in image editor user interface 12600. The user interface objects in FIGS. 14A-14G are configured to enable a user to issue commands for editing image 12602. For example, one or more rocker switches 12604, for modifying respective parameters of image 12602, are displayed in image editor user interface 12600. Values representing respective parameters are, optionally displayed in respective value indicators 12606. Rocker switch 12604-1 is, optionally, used to modify the brightness of image 12602, for example, and the brightness level (for example, represented by integers, with 0 as the middle value between the upper and lower bounds) is displayed in value indicator 12606-1. Cursor 12608 is also displayed on user interface 12600. In some embodiments, cursor 12608 is a mouse pointer. Cursor 12608 is an example of a focus selector.

A respective rocker switch 12604 optionally has a “minus” portion for reducing the value of a parameter associated with the rocker switch, indicated by the minus sign, and a “plus” portion for increasing the value of a parameter associated with the rocker switch, indicated by a plus sign. A rocker switch 12604 is, optionally, activated when a focus selector (e.g., cursor 12608) is positioned over either portion of the rocker switch and an intensity of a contact associated with the focus selector changes. In some embodiments, the corresponding value decreases or increases depending on the portion over which the focus selector is positioned. When the focus selector is positioned over the “minus” portion, the corresponding value decreases when the rocker switch is activated. When the focus selector is positioned over the “plus” portion, the corresponding value increases when the rocker switch is activated. In FIG. 14A, cursor 12608 is positioned over the “minus” portion of rocker switch 12604-1.

When rocker switch 12604-1 is not activated, rocker switch 12604-1 is displayed in a neutral position, as shown FIG. 14A. When rocker switch 12604-1 is activated, rocker switch 12604-1 is displayed as if either the “minus” portion (if cursor 12608 is positioned over the “minus” portion when rocker switch 12604-1 is activated, thus rocker switch 12604-1 is activated to decrease the value) or the “plus” portion (if cursor 12608 is positioned over the “plus” portion when rocker switch 12604-1 is activated, thus rocker switch 12604-1 is activated to increase the value) is depressed. For example, FIG. 14B shows the “minus” portion of rocker switch 12604-1 being depressed. In some embodiments, when rocker switch 12604-1 is activated, an animation showing a transition of rocker switch 12604-1 from the neutral position to either depressed position is, optionally, displayed; and when rocker switch 12604-1 is deactivated, an animation showing a transition of rocker switch 12604-1 from either depressed position to the neutral position is, optionally, displayed.

FIG. 14A shows contact 12610 detected on touch-sensitive surface 451 (e.g., touchpad 355) of the device at an intensity that is above a contact detection threshold (e.g., “IT₀”) and below a light press intensity threshold (e.g., “IT_(L)”) for activating rocker switch 12604-1. While contact 12610 continues to be detected on touch-sensitive surface 451 and cursor 12608 is positioned over the “minus” portion of rocker switch 12604-1, the intensity of contact 12610 is, in some circumstances, increased to a light press intensity that is above the light press intensity threshold (e.g., “IT_(L)”) for activating rocker switch 12604-1, and the increase in intensity is detected, as shown in FIG. 14B. In response to the detection of the increase in intensity, rocker switch 12604-1 is activated and the brightness level in value indicator 12606-1 decreases. The brightness of image 12602 changes in accordance with the change in the brightness level. In some embodiments, the rate of change in the brightness level is a relatively slow rate (e.g., 1 brightness level per time step). In some embodiments, rocker switch 12604-1 is animated to show the “minus” portion being depressed. The brightness level continues to decrease as long as the intensity of contact 12610 does not decrease below the light press intensity threshold (e.g., “IT_(L)”).

The intensity of contact 12610 is, in some circumstances, increased further. While contact 12610 continues to be detected on touch-sensitive surface 451 and cursor 12608 is still positioned over the “minus” portion of rocker switch 12604-1, the device detects an increase in intensity of contact 12610 from the light press intensity (e.g., an intensity between IT_(L) and IT_(D)) to a second, higher intensity that is above a deep press intensity threshold (e.g., “IT_(D)”). In response to this increase in intensity, rocker switch 12604-1 changes to a further activation state, as shown in FIG. 14C where the portion of the rocker switch under focus selector 12608 is pushed “into” the display, and brightness level decreases at a “medium” rate that is faster (e.g., 5 brightness levels per time step) than the rate of change at the light press intensity, and the brightness of image 12602 changes in accordance with the change in the brightness level, as shown in FIG. 14C.

The intensity of contact 12610 is, in some circumstances, increased even further. While contact 12610 continues to be detected on touch-sensitive surface 451 and cursor 12608 is still positioned over the “minus” portion of rocker switch 12604-1, the intensity of contact 12610 is increased from the first deep press intensity (e.g., an intensity above IT_(D) shown in FIG. 14C) to a second deep press intensity (e.g., an intensity above IT_(D) shown in FIG. 14D) that is higher than the first deep press intensity. In response to this increase in intensity, rocker switch 12604-1 changes to a further activation state, as shown in FIG. 14D where the portion of the rocker switch under focus selector 12608 is pushed even further “into” the display than shown in FIG. 14C, and brightness level decreases at a “fast” rate that is faster (e.g., 10 brightness levels per time step) than the rate of change at the first deep press intensity, and the brightness of image 12602 changes in accordance with the change in the brightness level, as shown in FIG. 14D.

From the second deep press intensity, the intensity of contact 12610 is, in some circumstances, increased even further. Depending on the implementation, the rate at which the brightness level changes optionally does or does not change further in response to the detection of the increase in intensity, as the rate of change at the second deep press intensity is, optionally, a predefined lower-bound (or upper-bound, for a rate of change where the brightness level increases) rate of change.

The intensity of contact 12610 is, optionally, decreased from the second deep press intensity to the first deep press intensity (e.g., an intensity above IT_(D) but below the second deep press intensity). While contact 12610 continues to be detected on touch-sensitive surface 451 and cursor 12608 is still positioned over the “minus” portion of rocker switch 12604-1, the device detects a decrease in intensity of contact 12610 from the second deep press intensity to the first deep press intensity, as shown in FIG. 14E. In response to this decrease in intensity, rocker switch 12604-1 continues to be activated, and brightness level decreases at the rate that corresponds to the first deep press intensity (e.g., 5 brightness levels per time unit), and the brightness of image 12602 changes in accordance with the change in the brightness level, as shown in FIG. 14E.

The intensity of contact 12610 is, optionally, further decreased from the first deep press intensity to the light press intensity (e.g., an intensity between IT_(L) and IT_(D)). While contact 12610 continues to be detected on touch-sensitive surface 451 and cursor 12608 is still positioned over the “minus” portion of rocker switch 12604-1, the device detects a decrease in the intensity of contact 12610 from the first deep press intensity to the light press intensity, as shown in FIG. 14F. In response to this decrease in intensity, rocker switch 12604-1 continues to be activated, and brightness level decreases at the rate corresponding to the light press intensity (e.g., 1 brightness level per time unit), and the brightness of image 12602 changes in accordance with the change in the brightness level, as shown in FIG. 14F.

The intensity of contact 12610 is, optionally, further decreased from the light press intensity (e.g., an intensity between IT_(L) and IT_(D)) to an intensity below the light press intensity threshold (e.g., “IT_(L)”). While contact 12610 continues to be detected on touch-sensitive surface 451 and cursor 12608 is still positioned over the “minus” portion of rocker switch 12604-1, the device detects a decrease in intensity of contact 12610 from the light press intensity to an intensity below the light press intensity threshold (e.g., “IT_(L)”), as shown in FIG. 14G. In response to detecting this decrease in intensity, rocker switch 12604-1 is deactivated, and the brightness level stops decreasing, as shown in FIG. 14G. The brightness of image 12602 stops changing in accordance with the brightness level ceasing to decrease.

A user interface object, such as rocker switch 12604-1, optionally has multiple activation states. For example, the activation states for rocker switch 12604-1 are the different rates at which the brightness level changes. For example, when rocker switch 12604-1 is in a “neutral activation state,” while the contact has an intensity below a light press intensity threshold (e.g., an intensity below IT_(L)), the brightness level is not changing, as shown in FIG. 14A; when rocker switch 12604-1 is in a “light press activation state,” while the contact has the light press intensity (e.g., an intensity between IT_(L) and IT_(D)), the brightness level is changing at a slow rate, as shown in FIG. 14B; when rocker switch 12604-1 is in a “first deep press activation state,” while the contact has the first deep press intensity (e.g., an intensity above IT_(D)), the brightness level is changing at a medium rate, as shown in FIG. 14C; and when rocker switch 12604-1 is in a “second deep press activation state,” while the contact has the second deep press intensity (e.g., an intensity above IT_(D) that is above the first deep press intensity), the brightness level is changing at a fast rate, as shown in FIG. 14D. Alternatively, the activation states of a rocker switch correspond to values of a parameter (e.g., a first activation state corresponds to 0, a second activation state corresponds to 1, a third activation state corresponds to 2, and so on).

When the intensity of contact 12610 changes, rocker switch 12604-1 optionally changes from the activation state at the starting intensity (e.g., a neutral activation state, as shown in FIG. 14A) to the activation state at the destination intensity (e.g., a second deep press activation state, as shown in FIG. 14D). For example, when the intensity of contact 12610 changes from an intensity below the light press intensity threshold (e.g., “IT_(L)”) to the second deep press intensity (e.g., an intensity above IT_(D) that is above the first deep press intensity), the activation state of rocker switch 12604-1 changes from a rate of 0 brightness levels per time step to a rate of 10 brightness levels per time step. As another example, when the intensity of contact 12610 changes from the second deep press intensity to the first deep press intensity (e.g., as illustrated in FIGS. 14D-14E), the activation state of rocker switch 12604-1 changes from a rate of 10 brightness levels per time step to 5 brightness levels per time step. Thus, the changes in the rate of change for the brightness level, described above with reference to FIGS. 14A-14G, are changes in the activation state of rocker switch 12604-1.

In some embodiments, from the activation state at the starting intensity, rocker switch 12604-1 optionally changes to zero or more intermediate activation states on the way to changing to the activation state at the destination intensity. For example, when the intensity of contact 12610 increases from below the light press intensity threshold (e.g., “IT_(L)”) to the second deep press intensity, from the activation state at the intensity below the light press intensity threshold (e.g., “IT_(L)”), rocker switch 12604-1 changes to the activation state at the light press intensity (e.g., corresponding to the light press activation state) and then to the activation state at the first deep press intensity (e.g., corresponding to the first deep press activation state), on the way to changing to the activation state at the second deep press intensity (e.g., the second deep press activation state). The activation states at the first and second intensities (e.g., the light press activation state and the first deep press activation state) are the intermediate activation states between the activation state at the intensity below the light press intensity threshold (e.g., “IT_(L)”) and the activation state at the second deep press intensity.

In some embodiments, the number of intermediate activation states between a starting activation state and a destination activation state for an increase in intensity is different than the number of intermediate activation states between a starting activation state and a destination activation state for a decrease in intensity. For example, referring back to FIGS. 14A-14G described above, on the decrease in intensity of contact 12610 shown in FIGS. 14D-14G, on the way to changing from the rate of change at the second deep press intensity to the rate at the neutral activation state, rocker switch 12604-1 optionally skips either or both of the rates at the light press intensity (e.g., corresponding to the light press activation state) and at the first deep press intensity (e.g., corresponding to the first deep press activation state), while those rates are not skipped on the increase in intensity shown in FIGS. 14A-14D. In some other embodiments, the intermediate activation states are not skipped, but the transitions to these states is, in some circumstances, not be noticeable to the user because of the speed of the increase or decrease in intensity leads to transitions between activation states in such quick succession that the user will, in some circumstances, perceive the entire activation state sequence as merely a transition from the starting activation state to the destination activation state. In some embodiments, the device is pre-configured to skip intermediate activations states on the increase or decrease in intensity. In some other embodiments, intermediate activation states are skipped if the intensity increases or decreases at a rate that exceeds a threshold (e.g., a rate corresponding to transitioning between the intensity below IT_(L) and the intensity above IT_(D) in less than 0.5, 0.25, 0.1, 0.05 seconds or some other reasonable amount of time). In the latter case, the user has some control over whether intermediate activations states are skipped, as the user controls how fast the intensity increases or decreases.

In response to the increase in the intensity of contact 12610, one or more distinct tactile outputs are, optionally, generated on touch-sensitive surface 451. For example, as the intensity increases from below the light press intensity threshold (e.g., “IT_(L)”) to the second deep press intensity, as described above with reference to FIGS. 14A-14D, one or more distinct tactile outputs are, optionally, generated on touch-sensitive surface 451. For convenience, the number of tactile outputs generated in response to the detection of the increase in intensity is referred to below as the variable “M.”

In response to the decrease in the intensity of contact 12610, one or more distinct tactile outputs are, optionally, generated on touch-sensitive surface 451. For example, as the intensity decreases from the second deep press intensity to an intensity below the light press intensity threshold (e.g., “IT_(L)”), as described above with reference to FIGS. 14D-14G, one or more distinct tactile outputs are, optionally, generated on touch-sensitive surface 451. For convenience, the number of distinct tactile outputs generated in response to the detection of the decrease in intensity is referred to below as the variable “N.” In some circumstances, M and N are the same and in some circumstances, M and N are different—for example, the number of tactile outputs generated in response to the detection of the decrease in intensity is, in some circumstances, the same as or different than the number of tactile outputs generated in response to the detection of the increase in intensity.

For example, the M tactile outputs are, optionally, tactile outputs generated at increments of the brightness level or increments of the change in brightness level as the brightness level changes in response to the detection of the increase in the intensity of contact 12610. For example, a tactile output is, optionally, generated at each of the 10's in the brightness level or at each 10th level from the starting level. Similarly, the N tactile outputs are, optionally, tactile outputs generated at increments of the brightness level or increments of the change in brightness level as the brightness level changes in response to the detection of the decrease in intensity of contact 12610. In this example, the tactile outputs are not necessarily generated in response to transitions in activation state.

In some embodiments, the M or N tactile outputs are generated for changes or transitions in activation state; the tactile outputs mark the changes or transitions in activation state. For example, a tactile output is, optionally, generated at each change in the rate of change in the brightness level as the intensity of contact 12610 increases (e.g., each of the M tactile outputs correspond to respective changes in activation state), and a tactile output is, optionally, generated at each change in the rate of change in the brightness level as the intensity of contact 12610 decreases (e.g., each of the N tactile outputs correspond to respective changes in activation state). In some embodiments, when a change or transition in activation state is skipped or not noticeable to the user (e.g., because the rate of increase or decrease in the intensity of contact 12610 occurs faster than a rate of change threshold), generation of one or more corresponding tactile sensations is, optionally forgone (e.g., the one or more corresponding tactile sensations associated with corresponding changes in activation state are not generated by the device even though the changes in activation state occur).

In some embodiments, a tactile output varies depending on whether the tactile output was generated in response to an increase or a decrease in the intensity of contact 12610. A tactile output generated in response to detection of an increase in the intensity of contact 12610 is, optionally, different from a tactile output generated in response to detection of a decrease in the intensity of contact 12610. The tactile outputs are, optionally, different in movement profile, amplitude, or both. In some embodiments, a tactile output generated in response to detection of an increase in the intensity of contact 12610 corresponds to a tactile sensation that simulates a down-click (e.g., press-and-hold) of a physical button (e.g., a mouse button), and a tactile output generated in response to detection of a decrease in the intensity of contact 12610 corresponds to a tactile sensation that simulates an up-click (e.g., release from a press-and-hold) of the physical button.

FIG. 14H-14N illustrate an example of the user interfaces described above, with reference to FIGS. 14A-14G, implemented on a device (e.g., device 100) with a touch-sensitive display 112. FIG. 14H illustrates image editor user interface 12628 displayed on touch-sensitive display 112 of a device. Image 12622 is displayed in image editor user interface 12628 for editing in accordance with user commands. One or more user interface objects (for example, buttons, sliders, rocker switches) optionally include control user interface objects such as rocker switches 12604 and status user interface objects such as value indicators 12606 displayed in image editor user interface 12628. The user interface objects in FIG. 14H-14N are configured to enable a user to issue commands for editing image 12622. For example, one or more rocker switches 12624, for modifying respective parameters of image 12622, are displayed in image editor user interface 12628. Values representing respective parameters are, optionally, displayed in respective value indicators 12626. Rocker switch 12624-1 is, optionally, used to modify the brightness of image 12622, for example, and the brightness value (for example, represented by integers, with 0 as the middle value between the upper and lower bounds) is displayed in value indicator 12626-1.

A respective rocker switch 12624 optionally has a “minus” portion, for reducing the value of a parameter associated with the rocker switch indicated by the minus sign, and a “plus” portion for increasing the value of a parameter associated with the rocker switch, indicated by a plus sign. A rocker switch 12624 is, optionally, activated when a contact is positioned over either portion of the rocker switch and an intensity of a contact associated with the focus selector changes. In some embodiments, the corresponding value decreases or increases depending on the portion over which the contact is positioned. When the contact is positioned over the “minus” portion, the corresponding value decreases when the rocker switch is activated. When the contact is positioned over the “plus” portion, the corresponding value increases when the rocker switch is activated. In FIG. 14H, contact 12630 is positioned over the “minus” portion of rocker switch 12624-1.

When rocker switch 12624-1 is not activated, rocker switch 12624-1 is displayed in a neutral position, as shown FIG. 14H. When rocker switch 12624-1 is activated, rocker switch 12624-1 is displayed as if either the “minus” portion (if contact 12630 is positioned over the “minus” portion when rocker switch 12624-1 is activated, thus rocker switch 12624-1 is activated to decrease the value) or the “plus” portion (if contact 12630 is positioned over the “plus” portion when rocker switch 12624-1 is activated, thus rocker switch 12624-1 is activated to increase the value) is depressed. For example, FIG. 14I shows the “minus” portion of rocker switch 12624-1 being depressed. In some embodiments, when rocker switch 12624-1 is activated, an animation showing a transition of rocker switch 12624-1 from the neutral position to either depressed position is, optionally, displayed; and when rocker switch 12624-1 is deactivated, an animation showing a transition of rocker switch 12624-1 from either depressed position to the neutral position is, optionally, displayed.

FIG. 14H shows contact 12630 detected on touch-sensitive display 112 at an intensity that is above a contact detection threshold (e.g., “IT₀”) and below a light press intensity threshold (e.g., “IT_(L)”) for activating rocker switch 12624-1. While contact 12630 continues to be detected on touch-sensitive display 112 over the “minus” portion of rocker switch 12624-1, the intensity of contact 12630 is, in some circumstances, increased to a light press intensity that is above the light press intensity threshold (e.g., “IT_(L)”) for activating rocker switch 12624-1, and the increase in intensity is detected, as shown in FIG. 14I. In response to the detection of the increase in intensity, rocker switch 12624-1 is activated and the brightness level in value indicator 12626-1 decreases. The brightness of image 12622 changes in accordance with the change in the brightness level. In some embodiments, the rate of change in the brightness level is a relatively slow rate (e.g., 1 brightness level per time step). In some embodiments, rocker switch 12624-1 is animated to show the “minus” portion being depressed. The brightness level continues to decrease as long as the intensity of contact 12630 does not decrease below the light press intensity threshold (e.g., “IT_(L)”).

The intensity of contact 12630 is, in some circumstances, increased further. While contact 12630 continues to be detected on touch-sensitive display 112 over the “minus” portion of rocker switch 12624-1, the device detects an increase in intensity of contact 12630 from the light press intensity (e.g., an intensity between IT_(L) and IT_(D)) to a second, higher intensity that is above a deep press intensity threshold (e.g., “IT_(D)”). In response to this increase in intensity, rocker switch 12624-1 changes to a further activation state, as shown in FIG. 14J where the portion of the rocker switch under the focus selector (e.g., contact 12630) is pushed “into” the display, and brightness level decreases at a “medium” rate that is faster (e.g., 5 brightness levels per time step) than the rate of change at the light press intensity, and the brightness of image 12622 changes in accordance with the change in the brightness level, as shown in FIG. 14J.

The intensity of contact 12630 is, in some circumstances, increased even further. While contact 12630 continues to be detected on touch-sensitive display 112 over the “minus” portion of rocker switch 12624-1, the intensity of contact 12630 is increased from the first deep press intensity (e.g., an intensity above IT_(D)) shown in FIG. 14J) to a second deep press intensity (e.g., an intensity above IT_(D)) shown in FIG. 14K) that is higher than the first deep press intensity. In response to this increase in intensity, rocker switch 12624-1 changes to a further activation state, as shown in FIG. 14K where the portion of the rocker switch under contact 12630 is pushed even further “into” the display than shown in FIG. 14J, and brightness level decreases at a “fast” rate that is faster (e.g., 10 brightness levels per time step) than the rate of change at the first deep press intensity, and the brightness of image 12622 changes in accordance with the change in the brightness level, as shown in FIG. 14K.

From the second deep press intensity, the intensity of contact 12630 is, in some circumstances, increased even further. Depending on the implementation, the rate at which the brightness level changes optionally do or do not change further in response to the detection of the increase in intensity, as the rate of change at the second deep press intensity is, optionally, a predefined lower-bound (or upper-bound, for a rate of change where the value increases) rate of change.

The intensity of contact 12630 is, optionally, decreased from the second deep press intensity to the first deep press intensity (e.g., an intensity above IT_(D)) but below the second deep press intensity). While contact 12630 continues to be detected on touch-sensitive display 112 over the “minus” portion of rocker switch 12624-1, the device detects a decrease in intensity of contact 12630 from the second deep press intensity to the first deep press intensity, as shown in FIG. 14L. In response to this decrease in intensity, rocker switch 12624-1 continues to be activated, and brightness level decreases at the rate that corresponds to the first deep press intensity (e.g., 5 brightness levels per time unit), and the brightness of image 12622 changes in accordance with the change in the brightness level, as shown in FIG. 14L.

The intensity of contact 12630 is, optionally, further decreased from the first deep press intensity to the light press intensity (e.g., an intensity between IT_(L) and IT_(D)). While contact 12630 continues to be detected on touch-sensitive display 112 over the “minus” portion of rocker switch 12624-1, the device detects a decrease in the intensity of contact 12630 from the first deep press intensity to the light press intensity, as shown in FIG. 14M. In response to this decrease in intensity, rocker switch 12624-1 continues to be activated, and brightness level decreases at the rate corresponding to at the light press intensity (e.g., 1 brightness level per time unit), and the brightness of image 12622 changes in accordance with the change in the brightness level, as shown in FIG. 14M.

The intensity of contact 12630 is, optionally, further decreased from the light press intensity (e.g., an intensity between IT_(L) and IT_(D)) to an intensity below the light press intensity threshold (e.g., “IT_(L)”). While contact 12630 continues to be detected on touch-sensitive display 112 over the “minus” portion of rocker switch 12624-1, the device detects a decrease in intensity of contact 12630 from the light press intensity to an intensity below the light press intensity threshold (e.g., “IT_(L)”), as shown in FIG. 14N. In response to detecting this decrease in intensity, rocker switch 12624-1 is deactivated, and the brightness level stops decreasing, as shown in FIG. 14N. The brightness of image 12622 stops changing in accordance with the brightness level ceasing to decrease.

A user interface object, such as rocker switch 12624-1, optionally has multiple activation states. For example, the activation states for rocker switch 12624-1 are the different rates at which the brightness level changes. For example, when rocker switch 12624-1 is in a “neutral activation state,” while the contact has an intensity below a light press intensity threshold (e.g., an intensity below IT_(L)), the brightness level is not changing, as shown in FIG. 14H; when rocker switch 12624-1 is in a “light press activation state,” while the contact has the light press intensity (e.g., an intensity between IT_(L) and IT_(D)), the brightness level is changing at a slow rate, as shown in FIG. 14I; when rocker switch 12624-1 is in a “first deep press activation state,” while the contact has the first deep press intensity (e.g., an intensity above IT_(D)), the brightness level is changing at a medium rate, as shown in FIG. 14J; and when rocker switch 12624-1 is in a “second deep press activation state,” while the contact has the second deep press intensity (e.g., an intensity above IT_(D) that is above the first deep press intensity), the brightness level is changing at a fast rate, as shown in FIG. 14K. Alternatively, the activation states of a rocker switch correspond to values of a parameter (e.g., a first activation state corresponds to 0, a second activation state corresponds to 1, a third activation state corresponds to 2, and so on).

When the intensity of contact 12630 changes, rocker switch 12624-1 optionally changes from the activation state at the starting intensity (e.g., a neutral activation state, as shown in FIG. 14H) to the activation state at the destination intensity (e.g., a second deep press activation state, as shown in FIG. 14K). For example, when the intensity of contact 12630 changes from an intensity below the light press intensity threshold (e.g., “IT_(L)”) to the second deep press intensity (e.g., an intensity above IT_(D) that is above the first deep press intensity), the activation state of rocker switch 12624-1 changes from a rate of 0 brightness levels per time step to a rate of 10 brightness levels per time step. As another example, when the intensity of contact 12630 changes from the second deep press intensity to the first deep press intensity (e.g., as illustrated in FIGS. 14K-14L), the activation state of rocker switch 12624-1 changes from a rate of 10 brightness levels per time step to a rate of 5 brightness levels per time step. Thus, the changes in the rate of change for the brightness level, described above with reference to FIGS. 14H-14N, are changes in the activation state of rocker switch 12624-1.

In some embodiments, from the activation state at the starting intensity, rocker switch 12624-1 optionally changes to zero or more intermediate activation states on the way to changing to the activation state at the destination intensity. For example, when the intensity of contact 12630 increases from below the light press intensity threshold (e.g., “IT_(L)”) to the second deep press intensity, from the activation state at the intensity below the light press intensity threshold (e.g., “IT_(L)”), rocker switch 12624-1 changes to the activation state at the light press intensity (e.g., corresponding to the light press activation state) and then to the activation state at the first deep press intensity (e.g., corresponding to the first deep press activation state), on the way to changing to the activation state at the second deep press intensity (e.g., the second deep press activation state). The activation states at the first and second intensities (e.g., the light press activation state and the first deep press activation state) are the intermediate activation states between the activation state at the intensity below the light press intensity threshold (e.g., “IT_(L)”) and the activation state at the second deep press intensity.

In some embodiments, the number of intermediate activation states between a starting activation state and a destination activation state for an increase in intensity is different than the number of intermediate activation states between a starting activation state and a destination activation state for a decrease in intensity. For example, referring back to FIGS. 14H-14N described above, on the decrease in intensity of contact 12630 shown in FIGS. 14K-14N, on the way to changing from the rate of change at the second deep press intensity to the rate at the neutral activation state, rocker switch 12624-1 optionally skips either or both of the rates at the light press intensity (e.g., corresponding to the light press activation state) and at the first deep press intensity (e.g., corresponding to the first deep press activation state), while those rates are not skipped on the increase in intensity shown in FIGS. 14H-14K. In some other embodiments, the intermediate activation states are not skipped, but the transitions to these states are, in some circumstances, not be noticeable to the user because of the speed of the increase or decrease in intensity leads to transitions between activation states in such quick succession that the user perceives, in some circumstances, the entire activation state sequence as merely a transition from the starting activation state to the destination activation state. In some embodiments, the device is pre-configured to skip intermediate activations states on the increase or decrease in intensity. In some other embodiments, intermediate activation states are skipped if the intensity increases or decreases at a rate that exceeds a threshold (e.g., the intensity changes from below the light press intensity threshold to the second deep press intensity in less than a predefined amount of time such as 0.05 seconds). In the latter case, the user has some control over whether intermediate activations states are skipped, as the user controls how fast the intensity increases or decreases.

In response to the increase in the intensity of contact 12630, one or more distinct tactile outputs are, optionally, generated on touch-sensitive display 112. For example, as the intensity increases from below the light press intensity threshold (e.g., “IT_(L)”) to the second deep press intensity, as described above with reference to FIGS. 14H-14K, one or more distinct tactile outputs are, optionally, generated on touch-sensitive display 112. For convenience, the number of tactile outputs generated in response to the detection of the increase in intensity is referred to below as the variable “M.”

In response to the decrease in the intensity of contact 12630, one or more distinct tactile outputs are, optionally, generated on touch-sensitive display 112. For example, as the intensity decreases from the second deep press intensity to an intensity below the light press intensity threshold (e.g., “IT_(L)”), as described above with reference to FIGS. 14K-14N, one or more distinct tactile outputs are, optionally, generated on touch-sensitive display 112. For convenience, the number of distinct tactile outputs generated in response to the detection of the decrease in intensity is referred to below as the variable “N.” In some circumstances, M and N are the same and in some circumstances, M and N are different—for example, the number of tactile outputs generated in response to the detection of the decrease in intensity is, optionally, the same as or different than the number of tactile outputs generated in response to the detection of the increase in intensity.

For example, the M tactile outputs are, optionally, tactile outputs generated at increments of the brightness level or increments of the change in brightness level as the brightness level changes in response to the detection of the increase in the intensity of contact 12630. For example, a tactile output is, optionally, generated at each of the 10's in the brightness level or at each 10th level from the starting level. Similarly, the N tactile outputs are, optionally, tactile outputs generated at increments of the brightness level or increments of the change in brightness level as the brightness level changes in response to the detection of the decrease in intensity of contact 12630. In this example, the tactile outputs are not necessarily generated in response to transitions in activation state.

In some embodiments, the M or N tactile outputs are generated for changes or transitions in activation state; the tactile outputs mark the changes or transitions in activation state. For example, a tactile output is, optionally, generated at each change in the rate of change in the brightness level as the intensity of contact 12630 increases (e.g., each of the M tactile outputs correspond to respective changes in activation state), and a tactile output is, optionally, generated at each change in the rate of change in the brightness level as the intensity of contact 12630 decreases (e.g., each of the N tactile outputs correspond to respective changes in activation state). In some embodiments, when a change or transition in activation state is skipped or not noticeable to the user (e.g., because the rate of increase or decrease in the intensity of contact 12630 occurs faster than a rate of change threshold), generation of one or more corresponding tactile sensations is, optionally, forgone (e.g., the one or more corresponding tactile sensations associated with corresponding changes in activation state are not generated by the device even though the changes in activation state occur).

In some embodiments, a tactile output varies depending on whether the tactile output was generated in response to an increase or a decrease in the intensity of contact 12630. A tactile output generated in response to detection of an increase in the intensity of contact 12630 is, optionally, different from a tactile output generated in response to detection of a decrease in the intensity of contact 12630. The tactile outputs are, optionally, different in movement profile, amplitude, or both. In some embodiments, a tactile output generated in response to detection of an increase in the intensity of contact 12630 corresponds to a tactile sensation that simulates a down-click (e.g., press-and-hold) of a physical button (e.g., a mouse button), and a tactile output generated in response to detection of a decrease in the intensity of contact 12630 corresponds to a tactile sensation that simulates an up-click (e.g., release from a press-and-hold) of the physical button.

FIGS. 15A-15C are flow diagrams illustrating a method 12700 of providing feedback for changing activation states of a user interface object in accordance with some embodiments. The method 12700 is performed at an electronic device (e.g., device 300, FIG. 3, or portable multifunction device 100, FIG. 1A) with a display and a touch-sensitive surface. In some embodiments, the display is a touch screen display and the touch-sensitive surface is on the display. In some embodiments, the display is separate from the touch-sensitive surface. Some operations in method 12700 are, optionally, combined and/or the order of some operations is, optionally, changed.

As described below, the method 12700 provides an intuitive way to provide feedback for change activation states of a user interface object. The method reduces the cognitive burden on a user when changing activation states of a user interface object, thereby creating a more efficient human-machine interface. For battery-operated electronic devices, enabling a user to change activation states of a user interface object faster and more efficiently conserves power and increases the time between battery charges.

The device displays (12702) a user interface object on the display, where the user interface object has a first activation state and a second activation state. FIG. 14A, for example, shows rocker switches 12604, for adjusting parameters of an image, displayed in image editor user interface 12600. A respective rocker switch 12604 has at least two activation states (e.g., a neutral activation state, a light press activation state, a first deep press activation state and/or a second deep press activation state), which optionally include various rates of change in the parameter value. As another example, FIG. 14H shows rocker switches 12624 displayed in image editor user interface 12628. A respective rocker switch 12624 has at least two activation states, which optionally include various rates of change in the parameter value. A respective rocker switch 12624 has at least two activation states (e.g., a neutral activation state, a light press activation state, a first deep press activation state and/or a second deep press activation state).

The device detects (12704) a contact (e.g., a finger contact) on the touch-sensitive surface. As shown in FIG. 14A, for example, contact 12610 is detected on touch-sensitive surface 451. Also, as shown in FIG. 14H, contact 12630 is detected on touch-sensitive display 112.

The device detects (12706) an increase of intensity of the contact on the touch-sensitive surface from a first intensity to a second intensity. FIGS. 14A-14D show an increase in the intensity of contact 12610 from an intensity below a light press intensity threshold (e.g., “IT_(L)”) for activating rocker switch 12604-1, to an intensity above a deep press intensity threshold (e.g., “IT_(D)”) and higher than additional intensities (e.g., a light press intensity that is between IT_(L) and IT_(D)) that are also above the threshold. FIGS. 14H-14K shows an increase in the intensity of contact 12630 from an intensity below a light press intensity threshold (e.g., “IT_(L)”) for activating rocker switch 12624-1, to an intensity above a deep press intensity threshold (e.g., “IT_(D)”) and higher than additional intensities that are also above the threshold (e.g., a light press intensity that is between IT_(L) and IT_(D)).

In response to detecting the increase in intensity (12708), the device changes (12710) activation states of the user interface from the first activation state to the second activation state, and generates (12712) M distinct tactile outputs on the touch-sensitive surface, where M is a positive integer. For example, in FIGS. 14A-14D or 14H-14K, in response to the detection of the increase in intensity from below the light press intensity threshold (e.g., “IT_(L)”) to an intensity above a deep press intensity threshold (e.g., “IT_(D)”), the rate of change in brightness level changes from zero, to a “fast” rate (e.g., 10 brightness levels per time step). The activation state for rocker switch 12604-1 or 12624-1 changes from the activation state corresponding to the zero rate (e.g., the neutral activation state), through zero or more intermediate activation states (e.g., the light press activation state and/or the first deep press activation state), to the activation state corresponding to the “fast” rate (e.g., the second deep press activation state). In response to the detection of the increase in intensity, M tactile outputs are, optionally, generated. The M tactile outputs are, optionally, generated at predefined increments of the brightness level (e.g., whenever the ones digit in the brightness level is 0) or at predefined increments of the change in the brightness level (e.g., every 10th increment from the starting brightness level), as the brightness of the image (e.g., 12602 or 12622) changes in accordance with the rate of change of brightness level corresponding to the current activation state of rocker switch 12604-1 or 12624-1.

In some embodiments, the M distinct tactile outputs correspond to changes in activation state of the user interface object (12714). The M tactile sensations are, optionally, generated whenever the activation state of rocker switch 12604-1 or 12624-1 (e.g., the rate of change for the brightness level) changes.

In some embodiments, while detecting the increase in intensity of the contact, the device determines (12716) a rate at which the intensity of the contact is increasing. In accordance with a determination that the rate at which the intensity of the contact is increasing remains below a predefined threshold (e.g., a rate corresponding to transitioning between the first intensity and the second intensity in less than 0.5, 0.25, 0.1, 0.05 seconds or some other reasonable amount of time), the device generates (12718) a distinct tactile output for each transition between activation states that occurs in response to detecting the increase in intensity of the contact. In accordance with a determination that the rate at which the intensity of the contact is increasing exceeds the predefined threshold (e.g., a rate corresponding to transitioning between the first intensity and the second intensity in less than 0.5, 0.25, 0.1, 0.05 seconds or some other reasonable amount of time), the device forgoes (12720) generation of at least one distinct tactile output for a respective transition between activation states that occurs in response to detecting the increase in intensity of the contact. For example, as the intensity of contact 12610 increases from below the light press intensity threshold (e.g., “IT_(L)”) to an intensity above a deep press intensity threshold (e.g., “IT_(D)”), as depicted in FIGS. 14A-14D, a speed of the intensity increase is, optionally, determined. As another example, as the intensity of contact 12630 increases from below the light press intensity threshold (e.g., “IT_(L)”) to an intensity above a deep press intensity threshold (e.g., “IT_(D)”), as depicted in FIGS. 14H-14K, a speed of the intensity increase is, optionally, determined. If the speed of the intensity increase is below the predefined threshold, a tactile output is generated for each transition between activation states along the way. If the speed of the intensity increase is above the predefined threshold, generation of one or more of the tactile outputs is, optionally, forgone, for example the tactile outputs corresponding to transitions between intermediate activation states (e.g., a transitions between the light press activation state and the first deep press activation state).

The device detects (12722) a decrease of intensity of the contact from the second intensity to the first intensity. As shown in FIGS. 14D-14G, for example, a decrease in the intensity of contact 12610 from an intensity above a deep press intensity threshold (e.g., “IT_(D)”) to an intensity below the light press intensity threshold (e.g., “IT_(L)”) is detected. As shown in FIGS. 14K-14N, for example, a decrease in the intensity of contact 12630 from an intensity above a deep press intensity threshold (e.g., “IT_(D)”) to an intensity below the light press intensity threshold (e.g., “IT_(L)”) is detected.

In response to detecting the decrease in intensity (12724), the device changes (12726) activation states of the user interface object from the second activation state (e.g., the second deep press activation state) to the first activation state (e.g., the neutral activation state), and generates (12732) N distinct tactile outputs on the touch-sensitive surface, where N is a positive integer and N is different from M. For example, in FIGS. 14D-14G o 14K-14N, in response to the detection of the decrease in intensity from an intensity above a deep press intensity threshold (e.g., “IT_(D)”) to an intensity below the light press intensity threshold (e.g., “IT_(L)”), the rate of change in brightness level changes from the “fast” rate (e.g., 10 per time step) to zero. The activation state for rocker switch 12604-1 or 12624-1 changes from the activation state corresponding to the “fast” rate, through zero or more intermediate activation states (e.g., a first deep press activation state and/or a light press activation state), to the activation state corresponding to the zero rate. In response to the detection of the decrease in intensity, N tactile outputs are, optionally, generated. The N tactile outputs are, optionally, generated at predefined increments of the brightness level (e.g., whenever the ones digit in the brightness level is 0), at predefined increments of the change in the brightness level (e.g., every 10th increment from the starting level), or when the brightness start level starts changing and stops changing, as the brightness level changes in accordance with the rate of change corresponding to the current activation state of rocker switch 12604-1 or 12624-1. In some circumstances N is different from M (e.g., as the brightness level has optionally changed less on the decrease in intensity, or the tactile outputs are, optionally, predefined to be generated at different points than the increments in the level or in the change in level). For example, when the increase in intensity of the contact is below the predefined threshold and the decrease in intensity of the contact is above the predefined threshold (e.g., a rate corresponding to transitioning between the first intensity and the second intensity in less than 0.5, 0.25, 0.1, 0.05 seconds or some other reasonable amount of time), the device generates tactile outputs corresponding to each the transitions between the neutral activation state, the light press activation state, the first deep press activation state and the second deep press activation state when the intensity of the contact is increasing, but the device generates tactile outputs for only a subset of these transitions (e.g., only the transition between the second deep press activation state and the neutral activation state).

In some embodiments, changing activation states of the user interface object from the first activation state to the second activation state includes transitioning through a first number of intermediate activation states between the first activation state and the second activation state; and changing activation states of the user interface object from the second activation state to the first activation state includes transitioning through a second number of intermediate activation states between the second activation state and the first activation state (12728). For example, in FIGS. 14A-14D or 14H-14K, the transition from the neutral activation state to the second deep press activation state includes intermediate transitions to the light press activation state and the first deep press activation state. In FIGS. 14D-14G or 14K-14N, the transition from the second deep press activation state to the neutral activation state includes intermediate transitions to the first deep press activation state and the light press activation state.

In some embodiments, the first number of intermediate activation states between the first activation state and the second activation state is different from the second number of intermediate activation states between the second activation state and the first activation state (12730). For example, the increase in intensity of contact 12610 or 12630 is, in some circumstances, at a speed below the predefined threshold, and the decrease in intensity of contact 12610 or 12630 is, in some circumstances, above the predefined threshold, and as a result the intermediate activations states on the decrease in intensity are skipped (e.g., processing the transition between the first deep press activation state and the second deep press activation state shown in FIGS. 14C-14D and skipping the transition between the second deep press activation threshold to the first deep press activation shown in FIGS. 14D-14E).

In some embodiments, the N distinct tactile outputs correspond to changes in activation state of the user interface object (12734). The N tactile sensations are, optionally, generated whenever the activation state of rocker switch 12604-1 or 12624-1 (e.g., the rate of change for the brightness level) changes.

In some embodiments, while detecting the decrease in intensity of the contact, the device determines (12736) a rate at which intensity of the contact is decreasing. In accordance with a determination that the rate at which the intensity of the contact is decreasing remains below a predefined threshold (e.g., a rate corresponding to transitioning between the first intensity and the second intensity in less than 0.5, 0.25, 0.1, 0.05 seconds or some other reasonable amount of time), the device generates (12738) a distinct tactile output for each transition between activation states that occurs in response to detecting the decrease in intensity of the contact. In accordance with a determination that the rate at which the intensity of the contact is decreasing exceeds the predefined threshold, the device forgoes (12740) generation of at least one distinct tactile output for a respective transition between activation states that occurs in response to detecting the decrease in intensity of the contact. For example, as the intensity of contact 12610 or 12630 decreases from an intensity above a deep press intensity threshold (e.g., “IT_(D)”) to an intensity below the light press intensity threshold (e.g., “IT_(L)”), as depicted in FIGS. 14D-14G or 14K-14N, respectively, a speed of the intensity decrease is, optionally, determined. In some embodiments, if the speed of the intensity decrease is below the predefined threshold, a tactile output is generated for each transition between activation states along the way. If the speed of the intensity decrease is above the predefined threshold, generation of one or more of the tactile outputs is, optionally, forgone, for example the tactile outputs corresponding to transitions between intermediate activation states, such as the light press activation state and the first deep press activation state illustrated in FIGS. 14B-14C.

In some embodiments, at least one tactile output generated in response to detecting the increase in intensity of the contact (e.g., 12610 or 12630) corresponds to a tactile sensation that simulates a down-click of a physical actuator mechanism (e.g., a tactile sensation that simulates the physical “down-click sensation” generated by the mechanical button apparatus of a physical button when a user activates the physical button), and at least one tactile output generated in response to detecting the decrease in intensity of the contact (e.g., 12610 or 12630) corresponds to a tactile sensation that simulates an up-click of a physical actuator mechanism (e.g., a tactile sensation that simulates the physical “up-click sensation” generated by the mechanical button apparatus of a physical button when a user activates the physical button).

As used herein, a distinct tactile output is a tactile output that was generated to provide feedback corresponding to a user interface event (e.g., a change in the activation state of the user interface object, such as activation of a button or other control). In some embodiments, the touch-sensitive surface is moved by an actuator in accordance with a separate waveform for each user interface event. The waveforms for different user interface events optionally overlap, but a waveform that was generated to provide a tactile feedback for a particular user interface event (e.g., activation of a button or change in activation state of a control such as a rocker switch) will still generate a distinct tactile output. As used herein, an activation state of a user interface object corresponds to an operational state of an application on the electronic device, and changing activation states of the user interface object changes operational states of the application. If the user interface object is an adjustable control interface such as a multi-state button, rocker-switch or slider, the activation states of the button/switch/slider are typically displayed by changing the visual appearance of the adjustable control interface (e.g., as a change in shading of a button, a change in rotation of a rocker switch or a change in position of a slider). Additionally, when the activation state of the button/switch/slider is changed, operation of an application associated with the button/switch/slider is changed accordingly. For example, if a rocker switch controls the brightness of an image, the activation states of the rocker switch correspond to different brightness levels of the image, and when the rocker switch changes from a first activation state to a second activation state, the brightness of the image changes from a first brightness level corresponding to the first activation state of the rocker switch to a second brightness level corresponding to the second activation state of the rocker switch. In some embodiments, activation states correspond to image property levels (e.g., hue, saturation, exposure, brightness, contrast), content navigation states (e.g., channel selection, forward navigation, backward navigation, frame-by-frame navigation), system property adjustments (e.g., volume control, screen brightness, date/time settings), rates of change, and other adjustable properties.

While M and N have been discussed herein as positive integers, in some circumstances M is zero (e.g., tactile outputs are generated in response to detecting the increase in intensity of the contact) and/or N is zero (e.g., no tactile outputs are generated in response to detecting the decrease in intensity of the contact). Additionally, while M has been described as being different from N, in some circumstances M is equal to N (e.g., the number of tactile outputs that are generated in response to detecting the increase in intensity of the contact is the same as the number of tactile outputs that are generated in response to detecting the decrease in intensity of the contact).

It should be understood that the particular order in which the operations in FIGS. 15A-15C have been described is merely exemplary and is not intended to indicate that the described order is the only order in which the operations could be performed. One of ordinary skill in the art would recognize various ways to reorder the operations described herein. Additionally, it should be noted that details of other processes described herein with respect to other methods described herein (e.g., those listed in the fifth paragraph of the Description of Embodiments) are also applicable in an analogous manner to method 12700 described above with respect to FIGS. 15A-15C. For example, the contacts, user interface objects, tactile outputs, intensity thresholds, focus selectors, animations described above with reference to method 12700 optionally have one or more of the characteristics of the contacts, user interface objects, tactile outputs, intensity thresholds, focus selectors, animations described herein with reference to other methods described herein (e.g., those listed in the fifth paragraph of the Description of Embodiments). For brevity, these details are not repeated here.

In accordance with some embodiments, FIG. 16 shows a functional block diagram of an electronic device 12800 configured in accordance with the principles of the various described embodiments. The functional blocks of the device are, optionally, implemented by hardware, software, or a combination of hardware and software to carry out the principles of the various described embodiments. It is understood by persons of skill in the art that the functional blocks described in FIG. 16 are, optionally, combined or separated into sub-blocks to implement the principles of the various described embodiments. Therefore, the description herein optionally supports any possible combination or separation or further definition of the functional blocks described herein.

As shown in FIG. 16, an electronic device 12800 includes a display unit 12802 configured to display a user interface object, wherein the user interface object has a first activation state and a second activation state; a touch-sensitive surface unit 12804 configured to receive contacts; one or more sensor units 12805 configured to detect intensity of contacts with the touch-sensitive surface unit 12804; and a processing unit 12806 coupled to the display unit 12802, the touch-sensitive surface unit 12804 and the sensor units 12805. In some embodiments, the processing unit 12806 includes a detecting unit 12808, a changing unit 12810, a generating unit 12812, and a determining unit 12814.

The processing unit 12806 is configured to: detect a contact on the touch-sensitive surface unit 12804 (e.g., with the detecting unit 12808); detect an increase of intensity of the contact on the touch-sensitive surface unit 12804 from a first intensity to a second intensity (e.g., with the detecting unit 12808); in response to detecting the increase in intensity: change activation states of the user interface object from the first activation state to the second activation state (e.g., with the changing unit 12810); and generate M distinct tactile outputs on the touch-sensitive surface unit 12804, where M is a positive integer (e.g., with the generating unit 12812); detect a decrease of intensity of the contact from the second intensity to the first intensity (e.g., with the detecting unit 12808); and in response to detecting the decrease in intensity: change activation states of the user interface object from the second activation state to the first activation state (e.g., with the changing unit 12810); and generate N distinct tactile outputs on the touch-sensitive surface unit 12804 (e.g., with the generating unit 12812), where N is a positive integer and N is different from M.

In some embodiments, changing activation states of the user interface object from the first activation state to the second activation state includes transitioning through a first number of intermediate activation states between the first activation state and the second activation state; and changing activation states of the user interface object from the second activation state to the first activation state includes transitioning through a second number of intermediate activation states between the second activation state and the first activation state.

In some embodiments, the first number of intermediate activation states between the first activation state and the second activation state is different from the second number of intermediate activation states between the second activation state and the first activation state.

In some embodiments, the processing unit 12806 is configured to: while detecting the increase in intensity of the contact, determine a rate at which the intensity of the contact is increasing (e.g., with the determining unit 12814); in accordance with a determination that the rate at which the intensity of the contact is increasing remains below a predefined threshold, generate a distinct tactile output for each transition between activation states that occurs in response to detecting the increase in intensity of the contact (e.g., with the generating unit 12812); and in accordance with a determination that the rate at which the intensity of the contact is increasing exceeds the predefined threshold, forgo generation of at least one distinct tactile output for a respective transition between activation states that occurs in response to detecting the increase in intensity of the contact (e.g., with the generating unit 12812).

In some embodiments, the processing unit 12806 is configured to: while detecting the decrease in intensity of the contact, determine a rate at which intensity of the contact is decreasing (e.g., with the determining unit 12814); in accordance with a determination that the rate at which the intensity of the contact is decreasing remains below a predefined threshold, generate a distinct tactile output for each transition between activation states that occurs in response to detecting the decrease in intensity of the contact (e.g., with the generating unit 12812); and in accordance with a determination that the rate at which the intensity of the contact is decreasing exceeds the predefined threshold, forgo generation of at least one distinct tactile output for a respective transition between activation states that occurs in response to detecting the decrease in intensity of the contact (e.g., with the generating unit 12812).

In some embodiments, the M distinct tactile outputs correspond to changes in activation state of the user interface object.

In some embodiments, the N distinct tactile outputs correspond to changes in activation state of the user interface object.

In some embodiments, at least one tactile output generated in response to detecting the increase in intensity corresponds to a tactile sensation that simulates a down-click of a physical actuator mechanism; and at least one tactile output generated in response to detecting the decrease in intensity corresponds to a tactile sensation that simulates an up-click of a physical actuator mechanism.

The operations in the information processing methods described above are, optionally implemented by running one or more functional modules in information processing apparatus such as general purpose processors (e.g., as described above with respect to FIGS. 1A and 3) or application specific chips.

The operations described above with reference to FIGS. 15A-15C are, optionally, implemented by components depicted in FIGS. 1A-1B or FIG. 16. For example, detection operations 12704, 12706, and 12722, changing operations 12710 and 12726, and generating operations 12712 and 12732 are, optionally, implemented by event sorter 170, event recognizer 180, and event handler 190. Event monitor 171 in event sorter 170 detects a contact on touch-sensitive display 112, and event dispatcher module 174 delivers the event information to application 136-1. A respective event recognizer 180 of application 136-1 compares the event information to respective event definitions 186, and determines whether a first contact at a first location on the touch-sensitive surface corresponds to a predefined event or sub-event, such as selection of an object on a user interface. When a respective predefined event or sub-event is detected, event recognizer 180 activates an event handler 190 associated with the detection of the event or sub-event. Event handler 190 optionally utilizes or calls data updater 176 or object updater 177 to update the application internal state 192. In some embodiments, event handler 190 accesses a respective GUI updater 178 to update what is displayed by the application. Similarly, it would be clear to a person having ordinary skill in the art how other processes can be implemented based on the components depicted in FIGS. 1A-1B.

It should be understood that the particular order in which the operations have been described above is merely exemplary and is not intended to indicate that the described order is the only order in which the operations could be performed. One of ordinary skill in the art would recognize various ways to reorder the operations described herein. Additionally, it should be noted that the various processes separately described herein (e.g., those listed in the fifth paragraph of the Description of Embodiments) can be combined with each other in different arrangements. For example, the contacts, user interface objects, tactile sensations, intensity thresholds, and/or focus selectors described above with reference to any one of the various processes separately described herein (e.g., those listed in the fifth paragraph of the Description of Embodiments) optionally have one or more of the characteristics of the contacts, gestures, user interface objects, tactile sensations, intensity thresholds, and focus selectors described herein with reference to one or more of the other methods described herein (e.g., those listed in the fifth paragraph of the Description of Embodiments). For brevity, all of the various possible combinations are not specifically enumerated here, but it should be understood that the claims described above may be combined in any way that is not precluded by mutually exclusive claim features.

The foregoing description, for purpose of explanation, has been described with reference to specific embodiments. However, the illustrative discussions above are not intended to be exhaustive or to limit the various described embodiments to the precise forms disclosed. Many modifications and variations are possible in view of the above teachings. The embodiments were chosen and described in order to best explain the principles of the various described embodiments and their practical applications, to thereby enable others skilled in the art to best utilize the various described embodiments with various modifications as are suited to the particular use contemplated. 

What is claimed is:
 1. A method, comprising: at an electronic device with a touch-sensitive surface and a display: detecting a contact on the touch-sensitive surface of the electronic device, including a first portion of a gesture made with the contact, a second portion of the gesture that follows the first portion, and lift-off of the contact from the touch-sensitive surface during or after the second portion of the gesture; in response to detecting the second portion of the gesture made with the contact: in accordance with a determination that a modifier input was detected while detecting the first portion of the gesture made with the contact: performing a first operation; and generating a first tactile output on the touch-sensitive surface; and in accordance with a determination that the modifier input was not detected while detecting the first portion of the gesture made with the contact: performing a second operation different from the first operation; and generating a second tactile output on the touch-sensitive surface, wherein the second tactile output is different from the first tactile output.
 2. The method of claim 1, wherein the modifier input is an input selected from the set consisting of: a key press of a modifier key, an additional contact on the touch-sensitive surface, and detecting the contact on a predefined portion of the touch-sensitive surface designated to modify inputs.
 3. The method of claim 1, wherein: detecting the first portion of the gesture made with the contact includes detecting an increase in intensity of the contact above a first activation threshold; and detecting the second portion of the gesture made with the contact includes, after detecting the increase in intensity of the contact above the first activation threshold, detecting a reduction in intensity of the contact below a second activation threshold.
 4. The method of claim 3, including: in response to detecting the reduction in intensity of the contact below the second activation threshold: in accordance with a determination that the modifier input was detected while detecting the increase in intensity of the contact above the first activation threshold: performing the first operation; and generating the first tactile output on the touch-sensitive surface; and in accordance with a determination that the modifier input was not detected while detecting the increase in intensity of the contact above the first activation threshold: performing the second operation different from the first operation; and generating the second tactile output on the touch-sensitive surface, wherein the second tactile output is different from the first tactile output.
 5. The method of claim 4, wherein the second activation threshold is different from the first activation threshold.
 6. The method of claim 4, wherein the second activation threshold is the same as the first activation threshold.
 7. The method of claim 4, wherein: the first operation corresponds to a right-click operation; and the second operation corresponds to a left-click operation.
 8. The method of claim 4, wherein: the contact is detected on the touch-sensitive surface while a focus selector is over an icon on the display; the first operation includes displaying a context menu that includes selectable options to perform operations associated with the icon; and the second operation includes displaying a new application window associated with the icon.
 9. The method of claim 4, wherein: the first tactile output is generated by movement of the touch-sensitive surface that includes a first dominant movement component; the second tactile output is generated by movement of the touch-sensitive surface that includes a second dominant movement component; and the first dominant movement component and the second dominant movement component have a same movement profile and different amplitudes.
 10. The method of claim 1, wherein: the first operation corresponds to a right-click operation; and the second operation corresponds to a left-click operation.
 11. The method of claim 1, wherein: the contact is detected on the touch-sensitive surface while a focus selector is over an icon on the display; the first operation includes displaying a context menu that includes selectable options to perform operations associated with the icon; and the second operation includes displaying a new application window associated with the icon.
 12. The method of claim 1, wherein: the first tactile output is generated by movement of the touch-sensitive surface that includes a first dominant movement component; the second tactile output is generated by movement of the touch-sensitive surface that includes a second dominant movement component; and the first dominant movement component and the second dominant movement component have a same movement profile and different amplitudes.
 13. An electronic device, comprising: a display; a touch-sensitive surface; one or more processors; memory; and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for: detecting a contact on the touch-sensitive surface of the electronic device, including a first portion of a gesture made with the contact, a second portion of the gesture that follows the first portion, and lift-off of the contact from the touch-sensitive surface during or after the second portion of the gesture; in response to detecting the second portion of the gesture made with the contact: in accordance with a determination that a modifier input was detected while detecting the first portion of the gesture made with the contact: performing a first operation; and generating a first tactile output on the touch-sensitive surface; and in accordance with a determination that the modifier input was not detected while detecting the first portion of the gesture made with the contact: performing a second operation different from the first operation; and generating a second tactile output on the touch-sensitive surface, wherein the second tactile output is different from the first tactile output.
 14. The electronic device of claim 13, wherein the modifier input is an input selected from the set consisting of: a key press of a modifier key, an additional contact on the touch-sensitive surface, and detecting the contact on a predefined portion of the touch-sensitive surface designated to modify inputs.
 15. The electronic device of claim 13, wherein: detecting the first portion of the gesture made with the contact includes detecting an increase in intensity of the contact above a first activation threshold; and detecting the second portion of the gesture made with the contact includes, after detecting the increase in intensity of the contact above the first activation threshold, detecting a reduction in intensity of the contact below a second activation threshold.
 16. The electronic device of claim 15, wherein the one or more programs include instructions for: in response to detecting the reduction in intensity of the contact below the second activation threshold: in accordance with a determination that the modifier input was detected while detecting the increase in intensity of the contact above the first activation threshold: performing the first operation; and generating the first tactile output on the touch-sensitive surface; and in accordance with a determination that the modifier input was not detected while detecting the increase in intensity of the contact above the first activation threshold: performing the second operation different from the first operation; and generating the second tactile output on the touch-sensitive surface, wherein the second tactile output is different from the first tactile output.
 17. A computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by an electronic device with a display, and a touch-sensitive surface, cause the device to: detect a contact on the touch-sensitive surface of the electronic device, including a first portion of a gesture made with the contact, a second portion of the gesture that follows the first portion, and lift-off of the contact from the touch-sensitive surface during or after the second portion of the gesture; in response to detecting the second portion of the gesture made with the contact: in accordance with a determination that a modifier input was detected while detecting the first portion of the gesture made with the contact: perform a first operation; and generate a first tactile output on the touch-sensitive surface; and in accordance with a determination that the modifier input was not detected while detecting the first portion of the gesture made with the contact: perform a second operation different from the first operation; and generate a second tactile output on the touch-sensitive surface, wherein the second tactile output is different from the first tactile output.
 18. The computer readable storage medium of claim 17, wherein the modifier input is an input selected from the set consisting of: a key press of a modifier key, an additional contact on the touch-sensitive surface, and detecting the contact on a predefined portion of the touch-sensitive surface designated to modify inputs.
 19. The computer readable storage medium of claim 17, wherein: detecting the first portion of the gesture made with the contact includes detecting an increase in intensity of the contact above a first activation threshold; and detecting the second portion of the gesture made with the contact includes, after detecting the increase in intensity of the contact above the first activation threshold, detecting a reduction in intensity of the contact below a second activation threshold.
 20. The computer readable storage medium of claim 19, wherein the one or more programs include instructions for: in response to detecting the reduction in intensity of the contact below the second activation threshold: in accordance with a determination that the modifier input was detected while detecting the increase in intensity of the contact above the first activation threshold: performing the first operation; and generating the first tactile output on the touch-sensitive surface; and in accordance with a determination that the modifier input was not detected while detecting the increase in intensity of the contact above the first activation threshold: performing the second operation different from the first operation; and generating the second tactile output on the touch-sensitive surface, wherein the second tactile output is different from the first tactile output. 